-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax highlighting bug #3
Comments
Thanks for the report. After a little bit of testing I noticed that adding a space before the first double quote in the python function lets language-bb highlight the function correctly:
Therefore it seems there's something wrong with the string/double-quote parsing. |
I've replaced my 0.2.1 install of language-bb with a git clone but this still breaks for me. The original source of the bad formatting was meta/classes/buildhistory.bbclass, in the write_recipeinfo function (oe-core git master). |
Thanks for testing, you're right. The following snippet is still parsed incorrectly:
Looks like that problem is caused by the empty newline in the python function.
|
The following bbclass snipped causes the highlighting to go all wrong. Note how the FOO=bar assignments are coloured differently under language-bb.
The highlighting parser sees PE = in the python block and decides that its a bitbake variable assignment.
The text was updated successfully, but these errors were encountered: