fix "{$foo['bar']}"
This commit is contained in:
parent
bf9eec6b23
commit
32e3ad5966
1 changed files with 1 additions and 1 deletions
|
|
@ -731,7 +731,7 @@ PHP.Lexer = function( src, ini ) {
|
|||
type = 0;
|
||||
|
||||
if( curlyOpen > 0 ){
|
||||
if( match2 = match[0].match(/^[\[\]\;\:\?\(\)\!\.\,\>\<\=\+\-\/\*\|\&\{\}\@\^\%\"\'\$\~]/) ){
|
||||
if( match2 = match[0].match(/^[\[\]\;\:\?\(\)\!\.\,\>\<\=\+\-\/\*\|\&\{\}\@\^\%\$\~]/) ){
|
||||
results.push(match2[0]);
|
||||
}else{
|
||||
type = PHP.Constants.T_STRING;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue