mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Input framework now accepts escaped ascii values as input.
I managed to completely forget to add unescaping to the input framework - this should fix it. It now works with the exact same escaping that is used by the writers (\x##). Includes one testcase that seems to work - everything else still passes.
This commit is contained in:
parent
336990e234
commit
8e453663dd
3 changed files with 58 additions and 15 deletions
|
@ -90,6 +90,7 @@ void delete_each(T* t)
|
|||
delete *it;
|
||||
}
|
||||
|
||||
std::string get_unescaped_string(const std::string& str);
|
||||
std::string get_escaped_string(const std::string& str, bool escape_all);
|
||||
|
||||
extern char* copy_string(const char* s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue