summaryrefslogtreecommitdiff
path: root/source4/lib/ejs/ejsInternal.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ejs/ejsInternal.h')
-rw-r--r--source4/lib/ejs/ejsInternal.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/lib/ejs/ejsInternal.h b/source4/lib/ejs/ejsInternal.h
index 4d54c4e8c6..2f776b8b79 100644
--- a/source4/lib/ejs/ejsInternal.h
+++ b/source4/lib/ejs/ejsInternal.h
@@ -100,7 +100,7 @@ extern "C" {
#define EJS_TOK_IN 26 /* in */
#define EJS_TOK_FUNCTION 27 /* function */
#define EJS_TOK_NUMBER 28 /* Number */
-
+#define EJS_TOK_HASHBANG 29 /* #!/path/to/interpreter */
/*
* Expression operators
*/
@@ -150,8 +150,7 @@ extern "C" {
#define EJS_STATE_DEC 18 /* Declaration statement */
#define EJS_STATE_DEC_DONE 19
#define EJS_STATE_RET 20 /* Return statement */
-
-#define EJS_STATE_BEGIN EJS_STATE_STMT
+#define EJS_STATE_BEGIN 21 /* Start of script */
/*
* General parsing flags.