Commit d78a5c3e authored by Eckhart Arnold's avatar Eckhart Arnold

clang as default cython-c-compiler

parent a616dc15
......@@ -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.
......
......@@ -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`
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment