diff options
author | Michael Meskes <meskes@postgresql.org> | 2017-08-15 16:06:56 +0200 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2017-08-15 17:14:52 +0200 |
commit | a4619b26a6a69ab31cab4a0632460647d7f5510f (patch) | |
tree | 445a46c397cde6fe3dc56c132fee53ea4a4c9a03 /src | |
parent | f3a4d7e7c290ba630ba0e6e6f009ac27cd3feb03 (diff) | |
download | postgresql-a4619b26a6a69ab31cab4a0632460647d7f5510f.tar.gz postgresql-a4619b26a6a69ab31cab4a0632460647d7f5510f.zip |
Allow continuation lines in ecpg cppline parsing.
Diffstat (limited to 'src')
-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 7b2bfdccc90..3598a200d0d 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -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. |