Skip to content
Snippets Groups Projects
Commit a6b174f5 authored by Michael Meskes's avatar Michael Meskes
Browse files

Allow continuation lines in ecpg cppline parsing.

parent 226be406
No related branches found
Tags
No related merge requests found
......@@ -357,7 +357,7 @@ cppinclude_next {space}*#{include_next}{space}*
/* first a general line for all commands not starting with "i" */
/* and then the other commands starting with "i", we have to add these
* separately because the cppline production would match on "include" too */
cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})((\/\*[^*/]*\*+\/)|.)*{newline}
cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})((\/\*[^*/]*\*+\/)|.|\\{space}*{newline})*{newline}
/*
* Dollar quoted strings are totally opaque, and no escaping is done on them.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment