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 ab25f481ca55821c6421c600b2957d8eade8320c..b06ede0fce6faf598a88ed5a62a26b8e81bb138a 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");
                        }