Revision: 2525
http://vexi.svn.sourceforge.net/vexi/?rev=2525&view=rev
Author: clrg
Date: 2007-10-25 09:58:57 -0700 (Thu, 25 Oct 2007)
Log Message:
-----------
Reserve 'writetrap' and 'readtrap' as keywords and change Ibex->Vexi in a few
important places
Modified Paths:
--------------
trunk/core/org.ibex.js/src/org/ibex/js/Lexer.jpp
Modified: trunk/core/org.ibex.js/src/org/ibex/js/Lexer.jpp
===================================================================
--- trunk/core/org.ibex.js/src/org/ibex/js/Lexer.jpp 2007-10-25 16:58:50 UTC
(rev 2524)
+++ trunk/core/org.ibex.js/src/org/ibex/js/Lexer.jpp 2007-10-25 16:58:57 UTC
(rev 2525)
@@ -133,6 +133,8 @@
case "debugger": return RESERVED;
case "function": return FUNCTION;
case "volatile": return RESERVED;
+ case "readtrap": return FUNCTION;
+ case "writetrap": return FUNCTION;
case "interface": return RESERVED;
case "protected": return RESERVED;
case "transient": return RESERVED;
@@ -151,7 +153,7 @@
in.unread();
String str = in.getString();
int result = getKeyword(str);
- if (result == RESERVED) throw new LexerException("The reserved word
\"" + str + "\" is not permitted in Ibex scripts");
+ if (result == RESERVED) throw new LexerException("The reserved word
\"" + str + "\" is not permitted in VexiScript");
if (result != -1) return result;
this.string = str.intern();
return NAME;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn