# HG changeset patch # User Paul Boddie # Date 1485274813 -3600 # Node ID fa5f854bdaa83b7d1c52c6336c19bef2960756f0 # Parent 267efab8ae738c16a8a30b788aa640c5958acfa4 Removed relative import notation. diff -r 267efab8ae73 -r fa5f854bdaa8 pyparser/data/Grammar-Lichen --- a/pyparser/data/Grammar-Lichen Mon Jan 23 23:46:20 2017 +0100 +++ b/pyparser/data/Grammar-Lichen Tue Jan 24 17:20:13 2017 +0100 @@ -37,7 +37,7 @@ raise_stmt: 'raise' [test [',' test [',' test]]] import_stmt: import_name | import_from import_name: 'import' dotted_as_names -import_from: ('from' ('.'* dotted_name | '.'+) +import_from: ('from' dotted_name 'import' ('*' | '(' import_as_names ')' | import_as_names)) import_as_name: NAME ['as' NAME] dotted_as_name: dotted_name ['as' NAME]