set svn:ignore on directories, updated struct type in parser
git-svn-id: svn://anubis/jtlc/trunk@3 f5bc74b8-7b62-4e90-9214-7121d538519f
This commit is contained in:
parent
01bd481bce
commit
f8b1248c72
@ -93,9 +93,22 @@ primitive_type: BYTE
|
||||
| ULONG
|
||||
;
|
||||
|
||||
struct_type: STRUCT
|
||||
struct_type: STRUCT LCURLY struct_items RCURLY
|
||||
;
|
||||
|
||||
struct_items: /* empty */
|
||||
| struct_item struct_items
|
||||
;
|
||||
|
||||
struct_item: variable_declaration
|
||||
;
|
||||
|
||||
variable_declaration: variable_spec SEMICOLON;
|
||||
;
|
||||
|
||||
variable_spec: IDENTIFIER COLON type
|
||||
;
|
||||
|
||||
ptr_type: type STAR
|
||||
;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user