We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc309c commit fc1ae7dCopy full SHA for fc1ae7d
src/interfaces/ecpg/preproc/pgc.l
@@ -354,7 +354,7 @@ cppinclude_next {space}*#{include_next}{space}*
354
/* first a general line for all commands not starting with "i" */
355
/* and then the other commands starting with "i", we have to add these
356
* separately because the cppline production would match on "include" too */
357
-cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})(.*\\{space})*.*{newline}
+cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})((\/\*[^*/]*\*+\/)|.)*{newline}
358
359
/*
360
* Dollar quoted strings are totally opaque, and no escaping is done on them.
0 commit comments