Mojo: Mojom: The handle type can/should be a NAME not an identifier.

Duh. (Ironically, this will lead to a less-helpful error message if you
try "handle<foo.bar>", but in the same way as "handle<123>" doesn't give
a super-helpful error message.)

R=darin@chromium.org

Review URL: https://codereview.chromium.org/296613002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271585 0039d316-1c4b-4281-b951-d872f2087c98
parent ac814513
......@@ -198,7 +198,7 @@ class Parser(object):
def p_handletype(self, p):
"""handletype : HANDLE
| HANDLE LANGLE identifier RANGLE"""
| HANDLE LANGLE NAME RANGLE"""
if len(p) == 2:
p[0] = p[1]
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment