input/zeek-setup: Track parse_only globally

For easier access in scan.l
This commit is contained in:
Arne Welzel 2025-03-04 10:14:33 +01:00
parent 376913b509
commit e14f54b474
2 changed files with 3 additions and 0 deletions

View file

@ -42,6 +42,7 @@ class Stmt;
extern int zeek_argc;
extern char** zeek_argv;
extern const char* prog;
extern bool parse_only;
extern std::vector<std::string> zeek_script_prefixes; // -p flag
extern const char* command_line_policy; // -e flag