Doesn't compile

Started by Ole Gjerdeover 26 years ago2 messages
#1Ole Gjerde
gjerde@icebox.org

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;
#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: Ole Gjerde (#1)
Re: [HACKERS] 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