Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default_insert not handled #33

Open
JustinAzoff opened this issue Sep 16, 2024 · 0 comments
Open

default_insert not handled #33

JustinAzoff opened this issue Sep 16, 2024 · 0 comments

Comments

@JustinAzoff
Copy link

https://github.com/zeek/zeek/blob/ba91de59b0b42126c2603eac9a27aa7cdc5aea75/NEWS#L645

https://docs.zeek.org/en/master/script-reference/attributes.html#default-insert

Being the same as &default I think we need to do

diff --git a/grammar.js b/grammar.js
index ca43b76..fdbbe9c 100644
--- a/grammar.js
+++ b/grammar.js
@@ -261,6 +261,7 @@ module.exports = grammar({
           seq("&broker_store", "=", $.expr),
           seq("&create_expire", "=", $.expr),
           seq("&default", "=", $.expr),
+          seq("&default_insert", "=", $.expr),
           seq("&deprecated", "=", $.string),
           seq("&delete_func", "=", $.expr),
           seq("&expire_func", "=", $.expr),

but not entirely sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant