summaryrefslogtreecommitdiff
path: root/Zend/zend_language_scanner.l
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2003-04-09 20:23:06 +0000
committerHarald Radi <phanto@php.net>2003-04-09 20:23:06 +0000
commit07e775bcde588b767720a0b3c9b37b7721ca2e23 (patch)
tree326c2086c4d8dcf166d62a5cefa04c7f7bf21f25 /Zend/zend_language_scanner.l
parent1cdd29eeef54725cf6f719e92253042a5db2c3f4 (diff)
downloadphp-git-07e775bcde588b767720a0b3c9b37b7721ca2e23.tar.gz
removing the *syntactical sugar* again
# commiting that on behalf of the community :) # don't blame me, i'm just acting as a proxy
Diffstat (limited to 'Zend/zend_language_scanner.l')
-rw-r--r--Zend/zend_language_scanner.l8
1 files changed, 0 insertions, 8 deletions
diff --git a/Zend/zend_language_scanner.l b/Zend/zend_language_scanner.l
index 1aa2110de6..9d3c76795d 100644
--- a/Zend/zend_language_scanner.l
+++ b/Zend/zend_language_scanner.l
@@ -483,7 +483,6 @@ ENCAPSED_TOKENS [\[\]{}$]
ESCAPED_AND_WHITESPACE [\n\t\r #'.:;,()|^&+-/*=%!~<>?@]+
ANY_CHAR (.|[\n])
NEWLINE ("\r"|"\n"|"\r\n")
-NAMESPACE_NAME ({LABEL}":")+{LABEL}
%option noyylineno
%option noyywrap
@@ -1130,13 +1129,6 @@ NAMESPACE_NAME ({LABEL}":")+{LABEL}
return T_STRING;
}
-<ST_IN_SCRIPTING>{NAMESPACE_NAME} {
- zendlval->value.str.val = (char *)estrndup(yytext, yyleng);
- zendlval->value.str.len = yyleng;
- zendlval->type = IS_STRING;
- return T_NAMESPACE_NAME;
-}
-
<ST_HEREDOC>{ENCAPSED_STRING} {
zendlval->value.str.val = (char *)estrndup(yytext, yyleng);
zendlval->value.str.len = yyleng;