Let is_constant_expression() and friends return an enum so constant expressions can...
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 6 Feb 2011 07:51:12 +0000 (07:51 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 6 Feb 2011 07:51:12 +0000 (07:51 +0000)
commit26aba71a371f0bbcc8afd213b4398d4e4e52a6f2
treee92b95604e954656a36e531ea8b3bfd651d84ec2
parent9c31c4bbc475807359c5f866f730c61ad0c2fef6
Let is_constant_expression() and friends return an enum so constant expressions can be differentiated from erroneous expressions. Now the latter do not cause panics when trying to constant fold them.

[r28323]
ast.c
ast.h
ast2firm.c
parser.c