Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
DHParser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
badw-it
DHParser
Commits
6217db53
Commit
6217db53
authored
Mar 03, 2019
by
eckhart
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development' of gitlab.lrz.de:badw-it/DHParser into development
parents
4f8660ce
d78a5c3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
DHParser/parse.py
DHParser/parse.py
+4
-3
build_cython-modules.sh
build_cython-modules.sh
+1
-1
No files found.
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
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