summaryrefslogtreecommitdiff
path: root/src/parser/grammar.pegjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/grammar.pegjs')
-rw-r--r--src/parser/grammar.pegjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar.pegjs b/src/parser/grammar.pegjs
index f586dcc..180b87f 100644
--- a/src/parser/grammar.pegjs
+++ b/src/parser/grammar.pegjs
@@ -234,7 +234,7 @@ IntStatement = INT _ int:Integer { return int; }
RealStatement = REAL _ real:Real { return real; }
-BoolStatement = BOOL _ bool:Integer { return bool; }
+BoolStatement = BOOL _ bool:Integer { return { bool: bool.int }; }
StringStatement = STRING _ string:QuotedString { return string; }