Skip to content

Commit

Permalink
Fix not accepting 'pluto_use ... = true'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Apr 23, 2023
1 parent c1a9887 commit f055de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3979,7 +3979,7 @@ static void usestat (LexState *ls) {
if (testnext(ls, '=')) {
if (testnext(ls, TK_FALSE))
enable = false;
else checknext(ls, TK_FALSE);
else checknext(ls, TK_TRUE);
}
if (is_enabled != enable) {
if (enable)
Expand Down

0 comments on commit f055de2

Please sign in to comment.