Skip to content

Commit

Permalink
comment out union_dcl and native_dcl
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Nov 15, 2018
1 parent 21c349a commit 868bace
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions rosidl_parser/rosidl_parser/grammar.lark
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ positive_int_const: const_expr

// (20)
type_dcl: constr_type_dcl
| native_dcl
// | native_dcl
| typedef_dcl

// (21), (216)
Expand Down Expand Up @@ -304,7 +304,7 @@ fixed_pt_const_type.2: "fixed"

// (44)
constr_type_dcl: struct_dcl
| union_dcl
// | union_dcl
| enum_dcl

// (45)
Expand All @@ -321,11 +321,11 @@ member: annotation_appl* type_spec declarators ";"
struct_forward_dcl: "struct" IDENTIFIER

// (49)
union_dcl: union_def
| union_forward_dcl
//union_dcl: union_def
// | union_forward_dcl

// (50)
union_def: "union" IDENTIFIER "switch" "(" switch_type_spec ")" "{" switch_body "}"
//union_def: "union" IDENTIFIER "switch" "(" switch_type_spec ")" "{" switch_body "}"

// (51)
switch_type_spec: integer_type
Expand All @@ -347,7 +347,7 @@ case_label: "case" const_expr ":"
element_spec: type_spec declarator

// (56)
union_forward_dcl: "union" IDENTIFIER
//union_forward_dcl: "union" IDENTIFIER

// (57)
enum_dcl: annotation_appl* "enum" IDENTIFIER "{" enumerator ("," enumerator)* "}"
Expand All @@ -362,7 +362,7 @@ array_declarator: IDENTIFIER fixed_array_size+
fixed_array_size: "[" positive_int_const "]"

// (61)
native_dcl: "native" simple_declarator
//native_dcl: "native" simple_declarator

// (62)
simple_declarator: IDENTIFIER
Expand Down

0 comments on commit 868bace

Please sign in to comment.