aboutsummaryrefslogtreecommitdiff
path: root/source/compiler/aslhelpers.y
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslhelpers.y')
-rw-r--r--source/compiler/aslhelpers.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/compiler/aslhelpers.y b/source/compiler/aslhelpers.y
index 0b3029046931..abb729c33320 100644
--- a/source/compiler/aslhelpers.y
+++ b/source/compiler/aslhelpers.y
@@ -360,6 +360,11 @@ OptionalSlaveMode
| ',' SlaveModeKeyword {$$ = $2;}
;
+OptionalSlaveMode_First
+ : {$$ = NULL;}
+ | SlaveModeKeyword {$$ = $1;}
+ ;
+
OptionalShareType
: {$$ = NULL;}
| ',' {$$ = NULL;}