modifier parsing.

This commit is contained in:
Kelvin Sherlock 2019-04-14 18:30:19 -04:00
parent 860d8601a3
commit 79df8bf62e

View File

@ -426,10 +426,11 @@ static const char *parse_expr(const char *cp, struct cookie *cookie) {
cookie->size = 0; cookie->size = 0;
switch(*cp) { switch(*cp) {
case '|': ++cp; cookie->size = 2; break; case '|': ++cp; cookie->size = 2; break;
case '>': ++cp; cookie->size = 3; break; case '>': ++cp; cookie->size = 3; break;
case '<': ++cp; cookie->size = 1; break; case '<': ++cp; cookie->size = 1; break;
} }
YYCURSOR = cp;
/*!re2c /*!re2c
* { return NULL; } * { return NULL; }