mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
scripts: Use tpe instead of type_, again
The .rst generation doesn't escape the trailing `_` and the docs build
gets upset due to using `type` as a reference target then.
For the better or worse, revert to using tpe. Though I acknowledge this
means we need to be careful with trailing underscores because our docs
build is so fragile.
Partly reverts b9eabbabba
.
This commit is contained in:
parent
388cbcee48
commit
df581c59b4
7 changed files with 18 additions and 17 deletions
|
@ -58,7 +58,7 @@ type FileLine: record {
|
|||
s: string;
|
||||
};
|
||||
|
||||
event Exec::line(description: Input::EventDescription, type_: Input::Event, s: string, is_stderr: bool)
|
||||
event Exec::line(description: Input::EventDescription, tpe: Input::Event, s: string, is_stderr: bool)
|
||||
{
|
||||
local result = results[description$name];
|
||||
if ( is_stderr )
|
||||
|
@ -77,7 +77,7 @@ event Exec::line(description: Input::EventDescription, type_: Input::Event, s: s
|
|||
}
|
||||
}
|
||||
|
||||
event Exec::file_line(description: Input::EventDescription, type_: Input::Event, s: string)
|
||||
event Exec::file_line(description: Input::EventDescription, tpe: Input::Event, s: string)
|
||||
{
|
||||
local parts = split_string1(description$name, /_/);
|
||||
local name = parts[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue