Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
badw-it
DHParser
Commits
6217db53
Commit
6217db53
authored
Mar 03, 2019
by
eckhart
Browse files
Merge branch 'development' of gitlab.lrz.de:badw-it/DHParser into development
parents
4f8660ce
d78a5c3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
DHParser/parse.py
View file @
6217db53
...
...
@@ -1072,10 +1072,11 @@ class Grammar:
def
static_analysis
(
self
)
->
List
[
GrammarErrorType
]:
"""
EXPERIMENTAL (does not catch infinite loops due to regular expressions...)
EXPERIMENTAL
Checks the parser tree statically for possible errors. At the moment,
no checks are implemented
Checks the parser tree statically for possible errors. At the moment only
infinite loops will be detected.
:return: a list of error-tuples consisting of the narrowest containing
named parser (i.e. the symbol on which the failure occurred),
the actual parser that failed and an error object.
...
...
build_cython-modules.sh
View file @
6217db53
...
...
@@ -12,5 +12,5 @@ rm DHParser/*.so
# rm DHParser/transform.cpython*.so
# CFLAGS="-O3 -march=native -mtune=native"
python3 setup.py build_ext
--inplace
export
CC
=
clang
;
python3 setup.py build_ext
--inplace
strip
`
ls
DHParser/
*
.so
`
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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