Java Script warning in custom language plugin Follow
My custom language plugin shows me these warnings with the highlighting below:
"Expression statement is not assignment or call
This inspection reports expression statements which are not assignments or calls. Such statements have no dubious semantics, are normally the result of programmer error."
The plugin handles HTML and rythm. But how can I implement Java Script?
I think this would solve these warnings.
Thanks for any help.
Please sign in to leave a comment.
You're right. After I changed something in my JFlex file some errors disappeared. But there are still some errors.
Can you expand HTML file subtree on the left?
Here is the HTML file subtree:
Ok, it looks like the JS content is in one piece.
I believe there's an extra closing brace on the line 3 right before curly one, that's causing all these errors
And again you're right. Thanks Dennis. :)
It still shows me this warning. :/
There's also an extra semicolon at the end of the line 5 :)
But I noticed after I've changed the JFlex file, my BraceMatcher does not work propely.