Skip to content

Commit 5793c36

Browse files
committed
Merge pull request #44 from adamjimenez/patch-3
multiline strings throw out error line numbers
2 parents c5e1c47 + c469468 commit 5793c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PHP.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7137,7 +7137,7 @@ PHP.Lexer = function( src, ini ) {
71377137
return undefined;
71387138

71397139
} else {
7140-
result = result.replace(/\n/g,"\\n").replace(/\r/g,"");
7140+
result = result.replace(/\r/g,"");
71417141
}
71427142

71437143
/*

0 commit comments

Comments
 (0)