diff --git a/Objective-J/preprocess.js b/Objective-J/preprocess.js index f5966cd7c..c02f6b8c7 100644 --- a/Objective-J/preprocess.js +++ b/Objective-J/preprocess.js @@ -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;