Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Tiger
nolimips
Commits
248eb106
Commit
248eb106
authored
Oct 01, 2013
by
Roland Levillain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/parse/libparse.cc
src/parse/libparse.cc
+2
-2
No files found.
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
Markdown
is supported
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