OSDN Git Service

Fixed exec sql ifdef command.
authorMichael Meskes <meskes@postgresql.org>
Mon, 19 May 2003 07:19:57 +0000 (07:19 +0000)
committerMichael Meskes <meskes@postgresql.org>
Mon, 19 May 2003 07:19:57 +0000 (07:19 +0000)
src/interfaces/ecpg/preproc/pgc.l

index ab25f48..b06ede0 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.107 2003/05/01 17:16:57 meskes Exp $
+ *       $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.108 2003/05/19 07:19:57 meskes Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -905,7 +905,7 @@ cppline                     {space}*#(.*\\{space})+.*
 
 <xskip>{other}         { /* ignore */ }
 
-<xcond>{identifier}{space}*";" {
+<xcond>{identifier}{space}* {
                                                if ( preproc_tos >= MAX_NESTED_IF-1 ) {
                                                        mmerror(PARSE_ERROR, ET_FATAL, "Too many nested 'EXEC SQL IFDEF' conditions");
                                                }