Project

General

Profile

Feature #11154 » prefix-bang-qmark-parse-y.diff

for parse.y - make_now_just (Hiroya Fujinami), 05/15/2015 02:28 PM

View differences:

parse.y
if (tokadd_mbchar(c) == -1) return 0;
c = nextc();
} while (parser_is_identchar());
if ((c == '!' || c == '?') && !peek('=')) {
if (c == '!' && !peek('=')) {
tokadd(c);
c = nextc();
if (c == '?' && !peek('=')) {
tokadd(c);
}
else {
pushback(c);
}
}
else if (c == '?' && !peek('=')) {
tokadd(c);
}
else {
(1-1/2)