mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08:00
Allow continuation lines in ecpg cppline parsing.
This commit is contained in:
parent
f3a4d7e7c2
commit
a4619b26a6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user