summaryrefslogtreecommitdiff
path: root/source/compiler/aslrules.y
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslrules.y')
-rw-r--r--source/compiler/aslrules.y16
1 files changed, 7 insertions, 9 deletions
diff --git a/source/compiler/aslrules.y b/source/compiler/aslrules.y
index ae4d37147b9e..d09852c7d166 100644
--- a/source/compiler/aslrules.y
+++ b/source/compiler/aslrules.y
@@ -269,11 +269,9 @@ TermArg
: SimpleName {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| Type2Opcode {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| DataObject {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
-/*
| PARSEOP_OPEN_PAREN
TermArg
- PARSEOP_CLOSE_PAREN {}
-*/
+ PARSEOP_CLOSE_PAREN {$$ = TrSetNodeFlags ($2, NODE_IS_TERM_ARG);}
;
/*
@@ -395,7 +393,7 @@ Object
: CompilerDirective {}
| NamedObject {}
| NameSpaceModifier {}
-// | StructureTerm {}
+/* | StructureTerm {} */
;
PackageList
@@ -644,7 +642,7 @@ NamedObject
NameSpaceModifier
: AliasTerm {}
| NameTerm {}
-// | NameTermAslPlus {}
+/* | NameTermAslPlus {} */
| ScopeTerm {}
;
@@ -751,8 +749,8 @@ Type2IntegerOpcode /* "Type3" opcodes */
| FromBCDTerm {}
| IncTerm {}
| IndexTerm {}
-// | StructureIndexTerm {}
-// | StructurePointerTerm {}
+/* | StructureIndexTerm {} */
+/* | StructurePointerTerm {} */
| LAndTerm {}
| LEqualTerm {}
| LGreaterTerm {}
@@ -827,8 +825,8 @@ Type6Opcode
| DerefOfTerm {}
| IndexTerm {}
| IndexExpTerm {}
-// | StructureIndexTerm {}
-// | StructurePointerTerm {}
+/* | StructureIndexTerm {} */
+/* | StructurePointerTerm {} */
| MethodInvocationTerm {}
;