diff options
Diffstat (limited to 'src/interfaces/ecpg/preproc/pgc.l')
-rw-r--r-- | src/interfaces/ecpg/preproc/pgc.l | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l index fad995fbd72..ce1b4eb885a 100644 --- a/src/interfaces/ecpg/preproc/pgc.l +++ b/src/interfaces/ecpg/preproc/pgc.l @@ -12,7 +12,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.134 2004/12/31 22:03:48 pgsql Exp $ + * $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.135 2005/02/02 15:37:43 meskes Exp $ * *------------------------------------------------------------------------- */ @@ -288,8 +288,8 @@ ip {ipdigit}\.{ipdigit}\.{ipdigit}\.{ipdigit} /* we might want to parse all cpp include files */ cppinclude {space}*#{include}{space}* -/* Take care of cpp continuation lines */ -cppline {space}*#(.*\\{space})+.* +/* Take care of cpp lines, they may also be continuated */ +cppline {space}*#(.*\\{space})*.*{newline} /* * Dollar quoted strings are totally opaque, and no escaping is done on them. @@ -685,7 +685,7 @@ cppline {space}*#(.*\\{space})+.* return(CPP_LINE); } } -<C>{cppline} { +<C,SQL>{cppline} { yylval.str = mm_strdup(yytext); return(CPP_LINE); } |