Skip to content
Snippets Groups Projects
Commit 7280c926 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Use variant semantic values in the Bison parser

We can therefore manipulate objects by value rather than by pointers, which
saves a lot of memory manipulations (and avoid potential segfaults and memory
leaks).

Note that there is no default action ("$$ = $1") when using the variant type,
so we add them explicitly.
parent 725b91e5
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment