Miscellaneous deprecations and renaming

This commit is contained in:
Tim Wojtulewicz 2022-06-28 16:03:59 -07:00
parent d875ad1a96
commit 4d4c6280e9
14 changed files with 57 additions and 57 deletions

View file

@ -609,7 +609,7 @@ function clean%(str: string%): string
## .. zeek:see:: clean escape_string
function to_string_literal%(str: string%): string
%{
char* s = str->AsString()->Render(zeek::String::BRO_STRING_LITERAL);
char* s = str->AsString()->Render(zeek::String::ZEEK_STRING_LITERAL);
return zeek::make_intrusive<zeek::StringVal>(new zeek::String(1, byte_vec(s), strlen(s)));
%}