Bug 1317180, part 3 - Remove unused ActorType syntax. r=billm
authorAndrew McCreight <continuation@gmail.com>
Sun, 13 Nov 2016 09:52:25 -0800
changeset 439655 04d44b806d48c95a242c4304c75961f0d22ef962
parent 439654 a8b85a9b7092c27de33d9d7d415add519652f295
child 439656 67e266ee225a735e40f7fba37848306358c7d361
push id36064
push userrthijssen@mozilla.com
push dateWed, 16 Nov 2016 13:38:27 +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):