parser: implement matching on the window id
This commit is contained in:
parent
14a312c152
commit
7c3e88ad93
|
@ -238,6 +238,13 @@ criteria:
|
||||||
current_match.con_id = atoi($<string>3);
|
current_match.con_id = atoi($<string>3);
|
||||||
printf("id as int = %d\n", current_match.con_id);
|
printf("id as int = %d\n", current_match.con_id);
|
||||||
}
|
}
|
||||||
|
| TOK_ID '=' STR
|
||||||
|
{
|
||||||
|
printf("criteria: window id = %s\n", $<string>3);
|
||||||
|
/* TODO: correctly parse number */
|
||||||
|
current_match.id = atoi($<string>3);
|
||||||
|
printf("window id as int = %d\n", current_match.id);
|
||||||
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
operations:
|
operations:
|
||||||
|
|
Loading…
Reference in New Issue