#
# Copyright (C) 2001, David M. Beazley
#
-# $Header: /home/esr/WWW/mad/RCS/yacc.py,v 1.3 2004/01/27 08:37:17 esr Exp esr $
+# $Header: /home/esr/WWW/mad/RCS/yacc.py,v 1.4 2004/02/10 22:26:00 esr Exp esr $
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
lookahead = YaccSymbol()
lookahead.type = '$'
if debug:
- errorlead = ("%s ^ %s" % (" ".join([xx.type for xx in symstack][1:]), str(lookahead))).lstrip()
+ errorlead = ("%s . %s" % (" ".join([xx.type for xx in symstack][1:]), str(lookahead))).lstrip()
# Check the action table
s = statestack[-1]