[Commit] nickle gram.y,1.120,1.121

Keith Packard commit at keithp.com
Thu Jun 5 09:07:16 PDT 2003


Committed by: keithp

Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv29726

Modified Files:
	gram.y 
Log Message:
Update comment about grammar conflicts

Index: gram.y
===================================================================
RCS file: /local/src/CVS/nickle/gram.y,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- gram.y	5 Jun 2003 15:03:34 -0000	1.120
+++ gram.y	5 Jun 2003 15:07:14 -0000	1.121
@@ -11,7 +11,7 @@
 #include	<stdio.h>
 
 /*
- * This grammar generates:
+ * This grammar generates 2 reduce/reduce and 4 shift/reduce conflicts:
  * 
  * reduce/reduce conflict on:
  *
@@ -37,7 +37,7 @@
  *	and the grammar can't tell which opt_nl is reduced.
  *	No big deal.
  *
- *  2 shift/reduce conflicts on CATCH:
+ *  shift/reduce conflict on CATCH:
  *
  *	That's because CATCH blocks are optional and chained.
  *	Shifting binds the CATCH to the nearest enclosing TRY,




More information about the Commit mailing list