Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
cd6c7994
Commit
cd6c7994
authored
Mar 26, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #413 from undingen/switchToPypa
Use the pypa parser as the default parser.
parents
97d43471
f3c3dcb4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
libpypa
libpypa
+1
-1
src/core/options.cpp
src/core/options.cpp
+1
-1
src/jit.cpp
src/jit.cpp
+1
-1
tools/astprint.cpp
tools/astprint.cpp
+1
-1
No files found.
libpypa
@
0a2bbff1
Subproject commit
2ce3f0ef83f6d3d4bdd1ab841e2ca4c3417d93a4
Subproject commit
0a2bbff17a4f8e0270c64423004b5613457e59db
src/core/options.cpp
View file @
cd6c7994
...
...
@@ -37,7 +37,7 @@ bool DUMPJIT = false;
bool
TRAP
=
false
;
bool
USE_STRIPPED_STDLIB
=
true
;
// always true
bool
ENABLE_INTERPRETER
=
true
;
bool
ENABLE_PYPA_PARSER
=
fals
e
;
bool
ENABLE_PYPA_PARSER
=
tru
e
;
bool
USE_REGALLOC_BASIC
=
true
;
int
OSR_THRESHOLD_INTERPRETER
=
200
;
...
...
src/jit.cpp
View file @
cd6c7994
...
...
@@ -109,7 +109,7 @@ static int main(int argc, char** argv) {
}
else
if
(
code
==
'b'
)
{
USE_REGALLOC_BASIC
=
false
;
}
else
if
(
code
==
'x'
)
{
ENABLE_PYPA_PARSER
=
tru
e
;
ENABLE_PYPA_PARSER
=
fals
e
;
}
else
if
(
code
==
'c'
)
{
command
=
optarg
;
// no more option parsing; the rest of our arguments go into sys.argv.
...
...
tools/astprint.cpp
View file @
cd6c7994
...
...
@@ -15,7 +15,7 @@ int main(int argc, char const ** argv) {
initCodegen
();
if
(
argc
>
2
&&
argv
[
1
][
0
]
==
'-'
&&
argv
[
1
][
1
]
==
'x'
)
{
ENABLE_PYPA_PARSER
=
tru
e
;
ENABLE_PYPA_PARSER
=
fals
e
;
}
std
::
string
fn
=
argv
[
1
+
int
(
argc
>
2
)];
...
...
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