Project

General

Profile

Feature #11154 ยป prefix-bang-qmark-parse-y.diff

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

View differences:

parse.y
7745 7745
	if (tokadd_mbchar(c) == -1) return 0;
7746 7746
	c = nextc();
7747 7747
    } while (parser_is_identchar());
7748
    if ((c == '!' || c == '?') && !peek('=')) {
7748
    if (c == '!' && !peek('=')) {
7749
	tokadd(c);
7750
	c = nextc();
7751
	if (c == '?' && !peek('=')) {
7752
	    tokadd(c);
7753
	}
7754
	else {
7755
	    pushback(c);
7756
	}
7757
    }
7758
    else if (c == '?' && !peek('=')) {
7749 7759
	tokadd(c);
7750 7760
    }
7751 7761
    else {