X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3e60f6d454616a795acb1e3e2b43efa979de4f46..92c611cfdf1124d0d2830ba9a503a7e7a57d2dee:/blib2to3/pgen2/pgen.py diff --git a/blib2to3/pgen2/pgen.py b/blib2to3/pgen2/pgen.py index 774cffc..13ec51d 100644 --- a/blib2to3/pgen2/pgen.py +++ b/blib2to3/pgen2/pgen.py @@ -167,8 +167,8 @@ class ParserGenerator(object): for symbol in itsfirst: if symbol in inverse: raise ValueError( - "rule %s is ambiguous; %s is in the" - " first sets of %s as well as %s" + "rule %s is ambiguous; %s is in the first sets of %s as well" + " as %s" % (name, symbol, label, inverse[symbol]) ) inverse[symbol] = label