X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/3e60f6d454616a795acb1e3e2b43efa979de4f46..8c3c190f9978d08b8b6e505112a019a20cc9e6fc:/blib2to3/pgen2/pgen.py?ds=inline 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