Placeholder parser - added a comment with a reference to a C grammar.
This commit is contained in:
parent
5c3ba79c6f
commit
571d654e67
@ -588,6 +588,7 @@ namespace client
|
|||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// Our calculator grammar
|
// Our calculator grammar
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
// Inspired by the C grammar https://www.lysator.liu.se/c/ANSI-C-grammar-y.html
|
||||||
template <typename Iterator>
|
template <typename Iterator>
|
||||||
struct calculator : qi::grammar<Iterator, std::string(const MyContext*), spirit::ascii::space_type>
|
struct calculator : qi::grammar<Iterator, std::string(const MyContext*), spirit::ascii::space_type>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user