Skip to content

Commit

Permalink
1946: Run function definition broken
Browse files Browse the repository at this point in the history
Equals (=) was not being tokenized as an operator which caused us to miss "foo = function() {}" types of definitions
  • Loading branch information
jcheng5 committed Aug 23, 2011
1 parent 2244e14 commit 578b726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gwt/acesupport/acemode/r_highlight_rules.js
Expand Up @@ -103,7 +103,7 @@ define("mode/r_highlight_rules", function(require, exports, module)
},
{
token : "keyword.operator",
regex : "%%|>=|<=|==|!=|\\->|<\\-|\\+|\\-|\\*|/|\\^|>|<|!|&|\\||~|\\$|:"
regex : "%%|>=|<=|==|!=|\\->|<\\-|\\|\\||&&|=|\\+|\\-|\\*|/|\\^|>|<|!|&|\\||~|\\$|:"
},
{
token : "keyword.operator", // infix operators
Expand Down

0 comments on commit 578b726

Please sign in to comment.