Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tiger
nolimips
Commits
248eb106
Commit
248eb106
authored
Oct 01, 2013
by
Roland Levillain
Browse files
Bison 2.7 compatibility.
* src/parse/libparse.cc (parse::parse): Do not copy the parser instance.
parent
fd02bdda
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parse/libparse.cc
View file @
248eb106
//
// This file is part of Nolimips, a MIPS simulator with unlimited registers
// Copyright (C) 2003, 2004 Benoit Perrot <benoit@lrde.epita.fr>
// Copyright (C) 2003, 2004
, 2013
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
...
...
@@ -45,7 +45,7 @@ namespace parse
program_builder
.
set_nop_after_branch
(
nop_after_branch_p
);
std
::
string
dummy
(
filename
);
yy
::
parser
parser
=
yy
::
parser
(
dummy
,
program_builder
);
yy
::
parser
parser
(
dummy
,
program_builder
);
parser
.
set_debug_level
(
trace_parse_p
);
scan_open
(
filename
,
trace_scan_p
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment