Bug 1317180, part 3 - Remove unused ActorType syntax. r=billm draft
authorAndrew McCreight <continuation@gmail.com>
Sun, 13 Nov 2016 09:52:25 -0800
changeset 438680 0ca6c058e77ad67136eae8e95ad1e0327e7c63ce
parent 438679 377477b2c4750c1dd78e6a89f04680df15a352b1
child 438681 5011b91b46d920d94bef63e7119cae613527ac3c
push id35795
push userbmo:continuation@gmail.com
push dateMon, 14 Nov 2016 22:23:52 +0000
reviewersbillm
bugs1317180
milestone53.0a1
Bug 1317180, part 3 - Remove unused ActorType syntax. r=billm MozReview-Commit-ID: 9ln5tyA2aSo
ipc/ipdl/ipdl/parser.py
--- a/ipc/ipdl/ipdl/parser.py
+++ b/ipc/ipdl/ipdl/parser.py
@@ -739,30 +739,24 @@ def p_Type(p):
 def p_BasicType(p):
     """BasicType : ScalarType
                  | ScalarType '[' ']'"""
     if 4 == len(p):
         p[1].array = 1
     p[0] = p[1]
 
 def p_ScalarType(p):
-    """ScalarType : ActorType
-                  | CxxID"""    # ID == CxxType; we forbid qnames here,
+    """ScalarType : CxxID"""    # ID == CxxType; we forbid qnames here,
                                 # in favor of the |using| declaration
     if isinstance(p[1], TypeSpec):
         p[0] = p[1]
     else:
         loc, id = p[1]
         p[0] = TypeSpec(loc, QualifiedId(loc, id))
 
-def p_ActorType(p):
-    """ActorType : ID ':' State"""
-    loc = locFromTok(p, 1)
-    p[0] = TypeSpec(loc, QualifiedId(loc, p[1]), state=p[3])
-
 def p_MaybeNullable(p):
     """MaybeNullable : NULLABLE
                      | """
     p[0] = (2 == len(p))
 
 ##--------------------
 ## C++ stuff
 def p_CxxType(p):