mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 02:11:00 +00:00
Fix for multiline string literals not working in Objective-J.
[#80 state:resolved] Reviewed by me.
This commit is contained in:
1 parent
abebe2e081
commit
2e9e38ebaf
1 file changed
+1
-1
@@ -62,7 +62,7 @@ var OBJJ_CURRENT_BUNDLE = NULL;
|
||||
var objj_lexer = function(aString, aSourceFile)
|
||||
{
|
||||
this._index = 0;
|
||||
this._tokens = (aString + '\n').match(/\/\/.*(\r|\n)?|\/\*(?:.|\n|\r)*?\*\/|\w+\b|[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?|"[^"\\]*(\\.[^"\\]*)*"|'[^'\\]*(\\.[^'\\]*)*'|\s+|./g);
|
||||
this._tokens = (aString + '\n').match(/\/\/.*(\r|\n)?|\/\*(?:.|\n|\r)*?\*\/|\w+\b|[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?|"([^"\\]|\\[\s\S])*"|'[^'\\]*(\\.[^'\\]*)*'|\s+|./g);
|
||||
|
||||
this.file = aSourceFile;
|
||||
|
||||
|
||||
Reference in new issue
Block a user