mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Updated grammar for definitions.
This commit is contained in:
@@ -1172,9 +1172,9 @@ define_ident
|
||||
;
|
||||
|
||||
define_declaration
|
||||
: DEF define_ident ';'
|
||||
| DEF define_attribute ';'
|
||||
| DEF TYPE_IDENT opt_attributes '=' opt_distinct_inline typedef_type ';'
|
||||
: DEF define_ident opt_attributes ';'
|
||||
| DEF define_attribute opt_attributes';'
|
||||
| DEF TYPE_IDENT opt_attributes '=' opt_distinct_inline typedef_type opt_attributes ';'
|
||||
;
|
||||
|
||||
tl_ct_if
|
||||
|
||||
Reference in New Issue
Block a user