| Index: mojo/public/tools/bindings/pylib/mojom/parse/parser.py
|
| diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/parser.py b/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
|
| index 7d668f153a954983a7e10f057fead29973e0a805..35070efe99298d29cd8a53ec573eb27499f384c1 100644
|
| --- a/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
|
| +++ b/mojo/public/tools/bindings/pylib/mojom/parse/parser.py
|
| @@ -88,7 +88,7 @@ class Parser(object):
|
| p[0].Append(p[2])
|
|
|
| def p_import(self, p):
|
| - """import : IMPORT STRING_LITERAL"""
|
| + """import : IMPORT STRING_LITERAL SEMI"""
|
| # 'eval' the literal to strip the quotes.
|
| # TODO(vtl): This eval is dubious. We should unquote/unescape ourselves.
|
| p[0] = ast.Import(eval(p[2]))
|
|
|