[Spirit] Qi Symbols mapping to AST enum
Hello,
I've got a qi::symbols capturing some built-in types. At the moment, I
gather, they are mapped to std::string. However, I would rather map
them to an AST level enum.
For instance,
struct builtin_type_t : qi::symbols
They do exactly that in the examples,
https://github.com/boostorg/spirit/blob/develop/example/qi/compiler_tutorial...
________________________________
From: Boost-users
participants (2)
-
Michael Powell
-
rmawatson rmawatson