Add missing string declaration (without {})
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 5 May 2011 22:48:58 +0000 (18:48 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 5 May 2011 22:48:58 +0000 (18:48 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/metadata/ctf-parser.y

index bbfbbeee707f1fd855de334bc223bceb4bc0bc00..69fed13abb2f5e098319437b95372b19fda82673 100644 (file)
@@ -1516,6 +1516,12 @@ type_specifier:
                        if (set_parent_node($3, $$->u.type_specifier.node))
                                reparent_error(scanner, "integer reparent error");
                }
+       |       STRING
+               {
+                       $$ = make_node(scanner, NODE_TYPE_SPECIFIER);
+                       $$->u.type_specifier.type = TYPESPEC_STRING;
+                       $$->u.type_specifier.node = make_node(scanner, NODE_STRING);
+               }
        |       STRING LBRAC RBRAC
                {
                        $$ = make_node(scanner, NODE_TYPE_SPECIFIER);
This page took 0.024419 seconds and 4 git commands to generate.