}
+<ST_DOUBLE_QUOTES,ST_BACKQUOTE,ST_HEREDOC>"\\{$" {
+ zendlval->value.str.val = estrndup("{$", sizeof("{$")-1);
+ zendlval->value.str.len = sizeof("{$")-1;
+ zendlval->type = IS_STRING;
+ return T_STRING;
+}
+
<ST_DOUBLE_QUOTES,ST_BACKQUOTE,ST_HEREDOC>"\\"{ANY_CHAR} {
switch (yytext[1]) {
case 'n':
case '$':
zendlval->value.lval = (long) yytext[1];
break;
- case '{':
- zendlval->value.lval = (long) yytext[1];
- break;
default:
if (!zend_copy_string_value(zendlval, yytext, yyleng, CG(literal_type) TSRMLS_CC)) {
return 0;