summaryrefslogtreecommitdiff
path: root/source4/lib/ejs/ejsLex.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ejs/ejsLex.c')
-rw-r--r--source4/lib/ejs/ejsLex.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source4/lib/ejs/ejsLex.c b/source4/lib/ejs/ejsLex.c
index 81f56b092e..b0d6483c2a 100644
--- a/source4/lib/ejs/ejsLex.c
+++ b/source4/lib/ejs/ejsLex.c
@@ -674,26 +674,6 @@ static int getLexicalToken(Ejs *ep, int state)
inputPutback(ep, c);
return EJS_TOK_NUMBER;
- case '#':
- if (ip->lineNumber == 1) {
- if ((c = inputGetc(ep)) < 0) {
- ejsError(ep, "Syntax Error");
- return EJS_TOK_ERR;
- }
- if (c != '!') {
- ejsError(ep, "Syntax Error");
- return EJS_TOK_ERR;
- }
- while ((c = inputGetc(ep)) != -1) {
- if (c == '\r' || c == '\n')
- break;
- tokenAddChar(ep, c);
- }
- return EJS_TOK_HASHBANG;
- }
-
- /* Fall through to default handling */
-
default:
/*
* Identifiers or a function names