mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Insert contents of #included script-opt files directly
Otherwise there is a functional problem caused by using #include to insert the disconnected source code: language server/analysis tools, like clangd, may get confused by those files and report everything in them as an error.
This commit is contained in:
parent
fa418cb179
commit
a0552f9771
10 changed files with 98 additions and 158 deletions
|
@ -40,9 +40,7 @@ const char* expr_name(BroExprTag t)
|
|||
"()", "function()", "event", "schedule",
|
||||
"coerce", "record_coerce", "table_coerce", "vector_coerce",
|
||||
"sizeof", "cast", "is", "[:]=",
|
||||
|
||||
#include "zeek/script_opt/ExprOpt-Names.h"
|
||||
|
||||
"inline()",
|
||||
"nop",
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue