Code

parser: Fixed setup of iterator nodes.
authorSebastian Harl <sh@tokkee.org>
Tue, 5 May 2015 21:36:14 +0000 (23:36 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 5 May 2015 21:36:14 +0000 (23:36 +0200)
commit85fa98410c3ef44c2b4ce4e5b2902a70b5932689
treea8f086a71aa9d0a1359b41b35e4f638a541c2104
parent8c60138c3491a844ed2302709763331d1c8375fd
parser: Fixed setup of iterator nodes.

The iterator value was supposed to be an "incomplete operator" node, that is,
one of the operands should be NULL. This is actually the case now and this
also means we don't have to store the operator type separately.
src/include/parser/ast.h
src/parser/ast.c
src/parser/grammar.y