* src/parse/asm-parse.yy.gen.py: Generate a `%defines' statement, as requested by Bison. --- ChangeLog | 7 +++++++ src/parse/asm-parse.yy.gen.py | 3 ++- 2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog index ca9dfda..700eb94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-10-18 Roland Levillain roland@lrde.epita.fr + + Fix the generation of the parser. + + * src/parse/asm-parse.yy.gen.py: Generate a `%defines' statement, + as requested by Bison. + 2012-05-23 Roland Levillain roland@lrde.epita.fr
Do not use locale in misc::escape. diff --git a/src/parse/asm-parse.yy.gen.py b/src/parse/asm-parse.yy.gen.py index 46ec6e3..c85c33e 100755 --- a/src/parse/asm-parse.yy.gen.py +++ b/src/parse/asm-parse.yy.gen.py @@ -1,7 +1,7 @@ #!/usr/bin/env python ## ## This file is part of Nolimips, a MIPS simulator with unlimited registers -## Copyright (C) 2003, 2004, 2006 Benoit Perrot benoit@lrde.epita.fr +## Copyright (C) 2003, 2004, 2006, 2012 Benoit Perrot benoit@lrde.epita.fr ## ## Nolimips is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -58,6 +58,7 @@ using namespace inst; %require "2.1a" %skeleton "lalr1.cc" %error-verbose +%defines %debug
%locations