Commit 569dcf45 authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

treat Property::Category as an int in Bison

It seems Bison tries to read from the rule result variable ($$) before we've had
a chance to initialise it, triggering undefined behaviour. I can't figure out
how to get around this with an enum, so I've taken the crude escape hatch and
used a bare number.

This issue was identified by UBSan.
parent f55bfd36
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment