zeek / spicy

C++ parser generator for dissecting protocols & files.
https://docs.zeek.org/projects/spicy
Other
249 stars 37 forks source link

Fix a Spicy scoping issue across imports. #1734

Closed rsmmr closed 6 months ago

rsmmr commented 6 months ago

We could get a bogus "unknown ID" error for default arguments of functions defined in an imported module if that default argument was itself referring to an identifier inside yet another imported module. The test case shows the exact situation that was broken.