bash && bug real fix

Mikey jeffdb@netzone.com
Sun Mar 2 13:08:00 GMT 1997


it looks like the bug I reported earlier was a 1 off error between y.tab.h
and y.tab.c
here's the real fix (I think). ;^)

(at least && works correctly now under both linux and win32 but glob is
still broken under win32)

--- ../../cygwin32/bash/y.tab.h.orig	Sun Mar 02 12:39:23 1997
+++ y.tab.h	Sun Mar 02 12:46:31 1997
@@ -7,37 +7,37 @@
   ELEMENT element;
   PATTERN_LIST *pattern;
 } YYSTYPE;
-#define	IF	258
-#define	THEN	259
-#define	ELSE	260
-#define	ELIF	261
-#define	FI	262
-#define	CASE	263
-#define	ESAC	264
-#define	FOR	265
-#define	SELECT	266
-#define	WHILE	267
-#define	UNTIL	268
-#define	DO	269
-#define	DONE	270
-#define	FUNCTION	271
-#define	IN	272
-#define	BANG	273
-#define	WORD	274
-#define	ASSIGNMENT_WORD	275
-#define	NUMBER	276
-#define	AND_AND	277
-#define	OR_OR	278
-#define	GREATER_GREATER	279
-#define	LESS_LESS	280
-#define	LESS_AND	281
-#define	GREATER_AND	282
-#define	SEMI_SEMI	283
-#define	LESS_LESS_MINUS	284
-#define	AND_GREATER	285
-#define	LESS_GREATER	286
-#define	GREATER_BAR	287
-#define	yacc_EOF	288
-
+#define	IF	257
+#define	THEN	258
+#define	ELSE	259
+#define	ELIF	260
+#define	FI	261
+#define	CASE	262
+#define	ESAC	263
+#define	FOR	264
+#define	SELECT	265
+#define	WHILE	266
+#define	UNTIL	267
+#define	DO	268
+#define	DONE	269
+#define	FUNCTION	270
+#define	IN	271
+#define	BANG	272
+#define	WORD	273
+#define	ASSIGNMENT_WORD	274
+#define	NUMBER	275
+#define	AND_AND	276
+#define	OR_OR	277
+#define	GREATER_GREATER	278
+#define	LESS_LESS	279
+#define	LESS_AND	280
+#define	GREATER_AND	281
+#define	SEMI_SEMI	282
+#define	LESS_LESS_MINUS	283
+#define	AND_GREATER	284
+#define	LESS_GREATER	285
+#define	GREATER_BAR	286
+#define	yacc_EOF	287
+#define YYERRCODE 256
 
 extern YYSTYPE yylval;

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list