More spacing cleanups.
authorBruce Momjian
Thu, 2 Feb 2006 03:51:41 +0000 (03:51 +0000)
committerBruce Momjian
Thu, 2 Feb 2006 03:51:41 +0000 (03:51 +0000)
src/interfaces/ecpg/preproc/pgc.l

index b39ec725bd72b9e4778c71f795ece525636ea1e7..16525da7b588f95b53b1d59a276e487491587a91 100644 (file)
@@ -12,7 +12,7 @@
  *
  *
  * IDENTIFICATION
- *   $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.139 2006/02/01 20:57:39 momjian Exp $
+ *   $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.140 2006/02/02 03:51:41 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -278,18 +278,18 @@ informix_special  [\$]
 other          .
 
 /* some stuff needed for ecpg */
-exec   [eE][xX][eE][cC]
-sql        [sS][qQ][lL]
-define [dD][eE][fF][iI][nN][eE]
-include [iI][nN][cC][lL][uU][dD][eE]
+exec           [eE][xX][eE][cC]
+sql                [sS][qQ][lL]
+define         [dD][eE][fF][iI][nN][eE]
+include        [iI][nN][cC][lL][uU][dD][eE]
 
-ifdef  [iI][fF][dD][eE][fF]
-ifndef [iI][fF][nN][dD][eE][fF]
-else   [eE][lL][sS][eE]
-elif   [eE][lL][iI][fF]
-endif  [eE][nN][dD][iI][fF]
+ifdef          [iI][fF][dD][eE][fF]
+ifndef         [iI][fF][nN][dD][eE][fF]
+else           [eE][lL][sS][eE]
+elif           [eE][lL][iI][fF]
+endif          [eE][nN][dD][iI][fF]
 
-struct [sS][tT][rR][uU][cC][tT]
+struct         [sS][tT][rR][uU][cC][tT]
 
 exec_sql       {exec}{space}*{sql}{space}*
 ipdigit            ({digit}|{digit}{digit}|{digit}{digit}{digit})
@@ -323,32 +323,32 @@ cppline           {space}*#(.*\\{space})*.*{newline}
 
 {whitespace}  { /* ignore */ }
 
-{xcstart}          {
-                       token_start = yytext;
-                       state_before = YYSTATE;
-                       xcdepth = 0;
-                       BEGIN(xc);
-                       /* Put back any characters past slash-star; see above */
-                       yyless(2);
-                       fputs("/*", yyout);
-                   }
-{xcstart}      {
-                       xcdepth++;
-                       /* Put back any characters past slash-star; see above */
-                       yyless(2);
-                       fputs("/*", yyout);
-                   }
+{xcstart}      {
+                   token_start = yytext;
+                   state_before = YYSTATE;
+                   xcdepth = 0;
+                   BEGIN(xc);
+                   /* Put back any characters past slash-star; see above */
+                   yyless(2);
+                   fputs("/*", yyout);
+               }
+{xcstart}  {
+                   xcdepth++;
+                   /* Put back any characters past slash-star; see above */
+                   yyless(2);
+                   fputs("/*", yyout);
+               }
 
-{xcstop}       {
-                       ECHO;
-                       if (xcdepth <= 0)
-                       {
-                           BEGIN(state_before);
-                           token_start = NULL;
-                       }
-                       else
-                           xcdepth--;
+{xcstop}   {
+                   ECHO;
+                   if (xcdepth <= 0)
+                   {
+                       BEGIN(state_before);
+                       token_start = NULL;
                    }
+                   else
+                       xcdepth--;
+               }
 
 {xcinside} { ECHO; }
 {op_chars} { ECHO; }