Include comment about string_operator_t

This commit is contained in:
Scott Kyle 2016-05-19 13:12:40 -07:00
parent 56b0871a26
commit ea697f9904
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <pegtl/analyze.hh> #include <pegtl/analyze.hh>
#include <pegtl/trace.hh> #include <pegtl/trace.hh>
// String operators (e.g. AND, OR, NOT) can't be followed by [A-z0-9_].
#define string_operator_t(s) seq< pegtl_istring_t(s), not_at< identifier_other > > #define string_operator_t(s) seq< pegtl_istring_t(s), not_at< identifier_other > >
using namespace pegtl; using namespace pegtl;