Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix typo in property parser

  • Loading branch information...
commit 4181d7ac1b41739963b0dfb4dcfe40f042e026f6 1 parent 6f7ccd9
Mooneer Salem authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/parser/kite-parser.ypp
4 src/parser/kite-parser.ypp
View
@@ -418,7 +418,7 @@ destructor_definition: DESTRUCT optional_docstring '[' input ']' {
property_definition: optional_global PROPERTY SYMBOL_NAME optional_docstring {
$<opValue>$ = new kite::semantics::syntax_tree(@$);
$<opValue>$->op = kite::semantics::PROP_ASSIGN;
- $<opValue>$->is_global = $<intValue>$;
+ $<opValue>$->is_global = $<intValue>1;
kite::semantics::syntax_tree deref_filter(@$);
deref_filter.op = kite::semantics::DEREF_FILTER;
@@ -444,7 +444,7 @@ property_definition: optional_global PROPERTY SYMBOL_NAME optional_docstring
| optional_global PROPERTY SYMBOL_NAME optional_docstring '=' data_manipulation_statement {
$<opValue>$ = new kite::semantics::syntax_tree(@$);
$<opValue>$->op = kite::semantics::PROP_ASSIGN;
- $<opValue>$->is_global = $<intValue>$;
+ $<opValue>$->is_global = true;
kite::semantics::syntax_tree deref_filter(@$);
deref_filter.op = kite::semantics::DEREF_FILTER;
Please sign in to comment.
Something went wrong with that request. Please try again.