Skip to content

Commit

Permalink
Recover from syntax error at the end of an included file
Browse files Browse the repository at this point in the history
When an included file contains an error that makes the parsing fail, the compiler must pop the file name from the stack before continuing parsing the original file, otherwise it will cause the confusing errors described in VirusTotal/yara-python#260
  • Loading branch information
plusvic committed May 31, 2024
1 parent 3f5b4c7 commit 4fc1ff8
Show file tree
Hide file tree
Showing 2 changed files with 753 additions and 739 deletions.
Loading

0 comments on commit 4fc1ff8

Please sign in to comment.