diff options
author | Michael Meskes <meskes@postgresql.org> | 2017-08-15 16:06:56 +0200 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2017-08-16 13:28:10 +0200 |
commit | 954490fecb4ee65e1f3fd5c38f65aaab64ea2099 (patch) | |
tree | d1be8890d6efbb742953c7149fc90337ab4dc479 | |
parent | d01fc51c003ce6e7b0ac96204a1d82f1ba505b70 (diff) | |
download | postgresql-954490fecb4ee65e1f3fd5c38f65aaab64ea2099.tar.gz postgresql-954490fecb4ee65e1f3fd5c38f65aaab64ea2099.zip |
Allow continuation lines in ecpg cppline parsing.
-rw-r--r-- | src/interfaces/ecpg/preproc/pgc.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l index 3601544da20..07c722d1d72 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -358,7 +358,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. |