summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-10-24 12:34:34 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-10-30 10:26:25 +0100
commit2b00a7d26f358dcec7882fe3c4c457abae0a0739 (patch)
tree18f6bf1624252210b1977adee7fe4999343f0f57
parentaebd800bc64e377d66406ae94703b5bcbd020cc6 (diff)
Add missing EXPR_LITERAL_MS_NOOP in get_expression_struct_size().
-rw-r--r--parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index 8108392..d16e7f2 100644
--- a/parser.c
+++ b/parser.c
@@ -322,6 +322,7 @@ static size_t get_expression_struct_size(expression_kind_t kind)
[EXPR_LITERAL_INTEGER] = sizeof(literal_expression_t),
[EXPR_LITERAL_FLOATINGPOINT] = sizeof(literal_expression_t),
[EXPR_LITERAL_CHARACTER] = sizeof(string_literal_expression_t),
+ [EXPR_LITERAL_MS_NOOP] = sizeof(literal_expression_t),
[EXPR_STRING_LITERAL] = sizeof(string_literal_expression_t),
[EXPR_COMPOUND_LITERAL] = sizeof(compound_literal_expression_t),
[EXPR_CALL] = sizeof(call_expression_t),