mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
binpac: Added an option to quiet the status output from binpac.
This adds the -q command line flag to quiet the output. It also fixes a small compiler warning.
This commit is contained in:
parent
c2dbefab17
commit
1a15b968e6
4 changed files with 14 additions and 4 deletions
|
@ -313,7 +313,8 @@ void switch_to_file(const char *filename)
|
|||
input_filename = string(filename);
|
||||
line_number = 1;
|
||||
switch_to_file(yyin);
|
||||
fprintf(stderr, "switching to file %s\n", input_filename.c_str());
|
||||
if ( !FLAGS_quiet )
|
||||
fprintf(stderr, "switching to file %s\n", input_filename.c_str());
|
||||
}
|
||||
|
||||
void include_file(const char *filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue