Revision: 361
http://redbutton.svn.sourceforge.net/redbutton/?rev=361&view=rev
Author: skilvington
Date: 2007-08-30 09:29:28 -0700 (Thu, 30 Aug 2007)
Log Message:
-----------
use the token names
Modified Paths:
--------------
redbutton-author/trunk/parser.h.footer
Modified: redbutton-author/trunk/parser.h.footer
===================================================================
--- redbutton-author/trunk/parser.h.footer 2007-08-30 16:16:25 UTC (rev 360)
+++ redbutton-author/trunk/parser.h.footer 2007-08-30 16:29:28 UTC (rev 361)
@@ -1,10 +1,10 @@
-#define is_INVALID(TOK) (TOK == 1)
-#define is_INTEGER(TOK) (TOK == 2)
-#define is_BOOLEAN(TOK) (TOK == 3)
-#define is_STRING(TOK) (TOK == 4)
-#define is_QPRINTABLE(TOK) (TOK == 5)
-#define is_BASE64(TOK) (TOK == 6)
-#define is_Null(TOK) (TOK == 7)
+#define is_INVALID(TOK) (TOK == INVALID)
+#define is_INTEGER(TOK) (TOK == INTEGER)
+#define is_BOOLEAN(TOK) (TOK == BOOLEAN)
+#define is_STRING(TOK) (TOK == STRING)
+#define is_QPRINTABLE(TOK) (TOK == QPRINTABLE)
+#define is_BASE64(TOK) (TOK == BASE64)
+#define is_Null(TOK) (TOK == Null)
#endif /* __NEW_PARSER_H__ */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|