Skip to content

Commit

Permalink
Fix for multiline string literals not working in Objective-J.
Browse files Browse the repository at this point in the history
[cappuccino#80 state:resolved]

Reviewed by me.
  • Loading branch information
Francisco Ryan Tolmasky I committed Oct 23, 2008
1 parent abebe2e commit 2e9e38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objective-J/preprocess.js
Expand Up @@ -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;

Expand Down

0 comments on commit 2e9e38e

Please sign in to comment.