Thread: Doesn't compile

Doesn't compile

From
Ole Gjerde
Date:
Current CVS doesn't compile on Redhat Linux 6.0.

bison 1.27
flex 2.5.4a

Ole Gjerde

--- src/backend/parser/gram.y   1999/05/21 15:47:13     2.81
+++ src/backend/parser/gram.y   1999/05/21 17:48:46
@@ -5365,8 +5365,8 @@                       for (pos = 1; n->val.val.str[pos]; pos++)                       {
                   if (n->val.val.str[pos] == '|' ||
 
-                               if (n->val.val.str[pos] == '{' ||
-                               if (n->val.val.str[pos] == '}')
+                                   n->val.val.str[pos] == '{' ||
+                                   n->val.val.str[pos] == '}')                               {
             found_special = true;                                       break;
 





Re: [HACKERS] Doesn't compile

From
Bruce Momjian
Date:
> Current CVS doesn't compile on Redhat Linux 6.0.
> 
> bison 1.27
> flex 2.5.4a

Just fixed.  Try again.  Sorry,

> 
> Ole Gjerde
> 
> --- src/backend/parser/gram.y   1999/05/21 15:47:13     2.81
> +++ src/backend/parser/gram.y   1999/05/21 17:48:46
> @@ -5365,8 +5365,8 @@
>                         for (pos = 1; n->val.val.str[pos]; pos++)
>                         {
>                                 if (n->val.val.str[pos] == '|' ||
> -                               if (n->val.val.str[pos] == '{' ||
> -                               if (n->val.val.str[pos] == '}')
> +                                   n->val.val.str[pos] == '{' ||
> +                                   n->val.val.str[pos] == '}')
>                                 {
>                                         found_special = true;
>                                         break;
> 
> 
> 
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026