mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
inlining of Zeek script functions
This commit is contained in:
parent
8337b4cf2d
commit
30b29ef7ba
65 changed files with 21885 additions and 253 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