mirror of
https://github.com/VirusTotal/yara.git
synced 2026-10-12 02:10:00 +00:00
Make fail_with_error() macro abort the parser on non-recoverable errors. (#1688)
Until now this macro was aborting the parsing with YYERROR, independently of the kind of error. YYERROR aborts the parsing in a recoverable way, allowing the parsing to continue with the next rule. However, some errors like ERROR_INSUFFICIENT_MEMORY may leave the compiler in an inconsistent state and we should not continue with the parsing.
This commit is contained in:
@@ -26,6 +26,10 @@ jobs:
|
||||
protobuf-compiler \
|
||||
protobuf-c-compiler \
|
||||
libprotobuf-c-dev
|
||||
- name: Print versions
|
||||
run: |
|
||||
bison --version
|
||||
gcc --version
|
||||
- name: Prepare for building
|
||||
run: |
|
||||
./bootstrap.sh
|
||||
|
||||
Reference in New Issue
Block a user