Skip to content

Commit fd0c99d

Browse files
committed
Re-enabled !, closes #61
I had disabled `!` (in favor of `not`) as an experiment to try having no unary prefix operators at all. But now I've re-enabled `-` and `+` and forgot to re-enable `!` too.
1 parent 1a586ca commit fd0c99d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/lex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ auto lex_line(
627627
//G !=
628628
break;case '!':
629629
if (peek1 == '=') { store(2, lexeme::NotEqualComparison); }
630-
//else { store(1, lexeme::Not); }
630+
else { store(1, lexeme::Not); }
631631

632632
//G ... .
633633
break;case '.':

0 commit comments

Comments
 (0)