[Redbutton-devel] SF.net SVN: redbutton: [469] redbutton-author/trunk/ccc.y
Brought to you by:
skilvington
|
From: <ski...@us...> - 2007-11-29 17:15:32
|
Revision: 469
http://redbutton.svn.sourceforge.net/redbutton/?rev=469&view=rev
Author: skilvington
Date: 2007-11-29 09:15:30 -0800 (Thu, 29 Nov 2007)
Log Message:
-----------
don't need to explicitly deal with this case
Modified Paths:
--------------
redbutton-author/trunk/ccc.y
Modified: redbutton-author/trunk/ccc.y
===================================================================
--- redbutton-author/trunk/ccc.y 2007-11-28 17:31:34 UTC (rev 468)
+++ redbutton-author/trunk/ccc.y 2007-11-29 17:15:30 UTC (rev 469)
@@ -826,8 +826,14 @@
/* assert */
if(item->type != IT_IDENTIFIER && item->type != IT_ONEORMORE && item->type != IT_OPTIONAL)
fatal("not IDENTIFIER, ONEORMORE or OPTIONAL");
-/* TODO */
-/* is it OPTIONAL - check if length == 0, if so bomb out now */
+#if 0
+ /* is it OPTIONAL - check if length == 0, if so bomb out now */
+ /*
+ * only thing this effects is TokenManager ::= [MovementTable]
+ * which works without this check (because TokenGroupBody is a SET)
+ */
+ if(item->type == IT_OPTIONAL) printf("TODO: OPTIONAL %s->%s\n", name, item->name);
+#endif
/* is it a primitive type */
if(strcmp(item->name, "BOOLEAN") == 0
|| strcmp(item->name, "INTEGER") == 0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|