Content-Length: 261829 | pFad | http://github.com/postgrespro/postgres/commit/a6b174f55716c9da2e16804f2d4be4d8f76255ef

E4 Allow continuation lines in ecpg cppline parsing. · postgrespro/postgres@a6b174f · GitHub
Skip to content

Commit a6b174f

Browse files
author
Michael Meskes
committed
Allow continuation lines in ecpg cppline parsing.
1 parent 226be40 commit a6b174f

File tree

1 file changed

+1
-1
lines changed
  • src/interfaces/ecpg/preproc

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/preproc/pgc.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ cppinclude_next {space}*#{include_next}{space}*
357357
/* first a general line for all commands not starting with "i" */
358358
/* and then the other commands starting with "i", we have to add these
359359
* separately because the cppline production would match on "include" too */
360-
cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})((\/\*[^*/]*\*+\/)|.)*{newline}
360+
cppline {space}*#([^i][A-Za-z]*|{if}|{ifdef}|{ifndef}|{import})((\/\*[^*/]*\*+\/)|.|\\{space}*{newline})*{newline}
361361

362362
/*
363363
* Dollar quoted strings are totally opaque, and no escaping is done on them.

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a6b174f55716c9da2e16804f2d4be4d8f76255ef

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy