Merge pull request #1660 from adamjimenez/patch-21
multiline strings throw out error line numbers
This commit is contained in:
commit
5120528cf1
1 changed files with 1 additions and 1 deletions
|
|
@ -766,7 +766,7 @@ PHP.Lexer = function( src, ini ) {
|
|||
return undefined;
|
||||
|
||||
} else {
|
||||
result = result.replace(/\n/g,"\\n").replace(/\r/g,"");
|
||||
result = result.replace(/\r/g,"");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue