Commit 191922e2 by Zachary Snow

plain typedef forward declaration

parent d84a4f7b
......@@ -766,7 +766,8 @@ NonDeclPackageItem :: { [PackageItem] }
| ForwardTypedef ";" { $1 }
| TimeunitsDeclaration { $1 }
ForwardTypedef :: { [PackageItem] }
: "typedef" "enum" Identifier { [] }
: "typedef" Identifier { [] }
| "typedef" "enum" Identifier { [] }
| "typedef" "struct" Identifier { [] }
| "typedef" "union" Identifier { [] }
TimeunitsDeclaration :: { [PackageItem] }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment