Fix reversed mapping of < and > in commented code
This commit is contained in:
parent
7e3165848b
commit
9bb6e0e860
1 changed files with 2 additions and 2 deletions
|
|
@ -6139,11 +6139,11 @@ exprcompound : expr PLUS expr {
|
||||||
}
|
}
|
||||||
/* Sadly this causes 2 reduce-reduce conflicts with templates. FIXME resolve these.
|
/* Sadly this causes 2 reduce-reduce conflicts with templates. FIXME resolve these.
|
||||||
| expr GREATERTHAN expr {
|
| expr GREATERTHAN expr {
|
||||||
$$.val = NewStringf("%s < %s", $1.val, $3.val);
|
$$.val = NewStringf("%s > %s", $1.val, $3.val);
|
||||||
$$.type = cparse_cplusplus ? T_BOOL : T_INT;
|
$$.type = cparse_cplusplus ? T_BOOL : T_INT;
|
||||||
}
|
}
|
||||||
| expr LESSTHAN expr {
|
| expr LESSTHAN expr {
|
||||||
$$.val = NewStringf("%s > %s", $1.val, $3.val);
|
$$.val = NewStringf("%s < %s", $1.val, $3.val);
|
||||||
$$.type = cparse_cplusplus ? T_BOOL : T_INT;
|
$$.type = cparse_cplusplus ? T_BOOL : T_INT;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue