Bump auxil/spicy to latest development snapshot

This patch bump Spicy to the latest development snapshot. This
introduces a backwards-incompatible change in that it removes support
for a never officially supported syntax to specify unit fields (so I
would argue: not strictly a breaking change).
This commit is contained in:
Benjamin Bannier 2024-07-16 08:17:31 +02:00
parent cb56837f07
commit 41db05238b
4 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 6581b1855a5ea8cc102c66b4ac6a431fc67484a0
Subproject commit 4a1b43ef07d1305a7e88a4f0866068dc49de9d06

View file

@ -15,7 +15,7 @@ public type Request = unit {
switch {
-> : /\/W/ { self.whois = True; }
-> void;
-> : void;
};
: OptionalWhiteSpace;

View file

@ -7,7 +7,7 @@ import spicy;
public type Message = unit {
switch {
-> prio: Priority;
-> void;
-> : void;
};
msg: bytes &eod;

View file

@ -1375,7 +1375,7 @@ bool GlueCompiler::CreateSpicyHook(glue::Event* ev) {
auto attrs = builder()->attributeSet({builder()->attribute("&priority", builder()->integer(ev->priority))});
auto parameters = hilti::util::transform(ev->parameters, [](const auto& p) { return p.get(); });
auto unit_hook = builder()->declarationHook(parameters, body.block(), ::spicy::Engine::All, attrs, meta);
auto unit_hook = builder()->declarationHook(parameters, body.block(), attrs, meta);
auto hook_decl = builder()->declarationUnitHook(ev->hook, unit_hook, meta);
ev->spicy_module->spicy_module->add(context(), hook_decl);