differentiate between EXPR_INVALID and EXPR_ERROR
authorMatthias Braun <matze@braunis.de>
Fri, 12 Aug 2011 10:36:03 +0000 (12:36 +0200)
committerMatthias Braun <matze@braunis.de>
Fri, 12 Aug 2011 18:59:20 +0000 (20:59 +0200)
commita3396048eb34c4e2a972167e2b6ec73d8282501f
tree792d0d5d94edeb3790c00461a13f26cb7fe3a5f7
parent92253254f77e5ebb69bc7fb6acddf4b373d3eaad
differentiate between EXPR_INVALID and EXPR_ERROR

EXPR_INVALID should never happen can be considered a compiler bug
EXPR_ERROR represents parsing errors in a subexpression. This commit
should fix a few panics because of parsing errors.
ast.c
ast2firm.c
ast_t.h
parser.c
walk.c