Skip to content

Commit

Permalink
Fix syntax highlighting for '<=' and '>='
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavpappu committed Jul 17, 2021
1 parent 722574d commit c17480d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/syntaxHighlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default code => {
'MOVE_FORWARD', 'ROTATE_RIGHT', 'ROTATE_LEFT', 'CAN_MOVE'];
const reserved = ['forward', 'right', 'left', 'backward', 'true', 'false'];
const operators = ['+', '-', '*', '/', 'MOD', '%', '<-', '=', '≠', '>', '<', '≥', '≤',
'NOT', '!', 'AND', 'OR'];
'>=', '<=', 'NOT', '!', 'AND', 'OR'];

const colors = {
// [regex, start offset]
Expand Down

0 comments on commit c17480d

Please sign in to comment.