Skip to content
Snippets Groups Projects
Commit cf6967de authored by benjamin.franksen's avatar benjamin.franksen
Browse files

snc: allow C++ style comments

This change is no more than a one line addition to the lexer spec!
parent 44925757
No related branches found
No related tags found
No related merge requests found
......@@ -218,6 +218,7 @@ snl:
goto string_const;
}
"/*" { goto comment; }
"//" .* { goto snl; }
"%{" {
s->tok = cursor;
in_c_code = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment