Placeholder parser - added a comment with a reference to a C grammar.

This commit is contained in:
bubnikv 2017-11-26 11:52:44 +01:00
parent 5c3ba79c6f
commit 571d654e67

View File

@ -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>
{ {