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;




Fri, 21 May 1999 12:38:37 -0500 (CDT)
Ole Gjerde <gjerde@icebox.org>
Doesn't compile
> 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, Pennsylvania 19026

Fri, 21 May 1999 14:57:25 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] Doesn't compile