mirror of
https://github.com/digarok/gsplus.git
synced 2024-05-28 13:41:31 +00:00
modifier parsing.
This commit is contained in:
parent
860d8601a3
commit
79df8bf62e
|
@ -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; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user