mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
inlining of Zeek script functions
This commit is contained in:
parent
3c39f11726
commit
c42586af2c
63 changed files with 21807 additions and 171 deletions
|
@ -6,6 +6,9 @@
|
|||
event zeek_init()
|
||||
{
|
||||
print "This should fail but not crash";
|
||||
# The following produces a run-time warning, "non-void function
|
||||
# returning without a value" ... but not when inlined, since then
|
||||
# there's no call to a script function occurring.
|
||||
print Files::lookup_file("asdf");
|
||||
|
||||
print "This should return F";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue