Skip to content
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

Broken Syntax Highlight after '(' #5

Open
picosmos opened this issue May 14, 2019 · 3 comments
Open

Broken Syntax Highlight after '(' #5

picosmos opened this issue May 14, 2019 · 3 comments

Comments

@picosmos
Copy link

Using the extension I found a bug in the syntax highlight. It looks like it is broken after a ( character, see the screenshot:

Screenshot from 2019-05-14 20-51-28

Here is the plain code to copy and paste:

%option yylineno
%option nounput
%option noinput
%option nodefault

%{
#include "minako.h"
%}

%%
{whitespace}+ { /* nothing */ }

","           { return ','; } 
";"           { return ';'; } 
"("           { return '('; } 
")"           { return ')'; } 
"{"           { return '{'; } 
"}"           { return '}'; } 

<<EOF>>       { return EOF; }
%%

Unfortunately I was not able to fix the problem.

@rvanlaar
Copy link

rvanlaar commented Feb 8, 2020

Here a broken syntax highlight after a commented ".
It's this line in scummvm: https://github.com/scummvm/scummvm/blob/master/engines/director/lingo/lingo-gr.y#L210

Screenshot from 2020-02-08 23-26-55

@AbhayVAshokan
Copy link

I am facing the same issue. Syntax highlighting broken at '('.

Issue

@faustinoaq
Copy link
Owner

Hi @Koopakiller @AbhayVAshokan @rvanlaar Thank you for posting this issue, let me check if we can get a fix in the next releases 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants