Dirty hack to make the parser workable

This commit is contained in:
Felipe Zimmerle 2017-01-11 01:27:21 -03:00 committed by Felipe Zimmerle
parent 839ac62585
commit 8edffe353c
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -48,6 +48,11 @@ MAINTAINERCLEANFILES = \
test-suite-memcheck.log \
ylwrap
parser:
cat src/parser/seclang-parser.hh | sed "s/return \*new (yyas_<T> ()) T (t)/return *new (yyas_<T> ()) T (std::move((T\&)t))/g" > src/parser/seclang-parser.hh.fix && mv src/parser/seclang-parser.hh.fix src/parser/seclang-parser.hh
cppcheck:
@cppcheck \
--suppressions-list=./test/cppcheck_suppressions.txt \