Add typedef/typealias to scopes
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 4 Feb 2011 22:19:35 +0000 (17:19 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 4 Feb 2011 22:19:35 +0000 (17:19 -0500)
typedef/typealias is valid, in CTF, within:

structure, variant, event, stream, trace declarations.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
common-trace-format-proposal.txt

index 67abaac74676f913bb0b46f07c6e2c5cb09d177a..2a4dbfe25a40d8f206760054c80b196feaa4593b 100644 (file)
@@ -1208,6 +1208,8 @@ struct-or-variant-declaration-list:
 
 struct-or-variant-declaration:
        specifier-qualifier-list struct-or-variant-declarator-list ;
+       declaration-specifiers storage-class-specifier declaration-specifiers declarator-list ;
+       typealias declaration-specifiers declaration-specifiers declarator-list : declaration-specifiers declarator-list ;
 
 specifier-qualifier-list:
        type-specifier specifier-qualifier-list-opt
@@ -1291,3 +1293,5 @@ ctf-assignment-expression-list:
 ctf-assignment-expression:
        unary-expression assignment-operator unary-expression
        unary-expression type-assignment-operator type-specifier
+       declaration-specifiers storage-class-specifier declaration-specifiers declarator-list
+       typealias declaration-specifiers declaration-specifiers declarator-list : declaration-specifiers declarator-list
This page took 0.032227 seconds and 4 git commands to generate.