]> granicus.if.org Git - postgresql/commitdiff
Fix ==-instead-of-= typo that gcc does its level best to point out.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Mar 2000 22:03:12 +0000 (22:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 8 Mar 2000 22:03:12 +0000 (22:03 +0000)
Isn't anybody paying attention to warnings around here?

src/interfaces/ecpg/preproc/pgc.l

index ec265dded162ad3d04cd8a0b30d2fd4774cf4013..a63294dfae3077d111912bb7bc62136d417680b8 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.52 2000/03/03 09:56:03 meskes Exp $
+ *       $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.53 2000/03/08 22:03:12 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -315,7 +315,7 @@ cppline                     {space}*#(.*\\{line_end})*.*
                                }
 
 {xqstart}                      {
-                                       state_before == YYSTATE;
+                                       state_before = YYSTATE;
                                        BEGIN(xq);
                                        startlit();
                                }