Add map/reduce to main parser body
diff --git a/plyxproto/logicparser.py b/plyxproto/logicparser.py
index 8bdfb1c..32627a6 100644
--- a/plyxproto/logicparser.py
+++ b/plyxproto/logicparser.py
@@ -65,10 +65,6 @@
self.offset = of
self.lh.offset = of
- def p_empty(self, p):
- '''empty :'''
- pass
-
def p_term_constant(self, p):
'''term : FALSE
| TRUE'''
diff --git a/plyxproto/parser.py b/plyxproto/parser.py
index 08f2f91..acc3279 100755
--- a/plyxproto/parser.py
+++ b/plyxproto/parser.py
@@ -460,6 +460,8 @@
| message_extension
| enum_definition
| policy_definition
+ | map_definition
+ | reduce_definition
| service_definition
| import_directive
| package_directive