Project

General

Profile

Feature #9099 ยป train.patch

charliesome (Charlie Somerville), 11/11/2013 07:05 AM

View differences:

parse.y
7013 7013
    command_start = FALSE;
7014 7014
  retry:
7015 7015
    last_state = lex_state;
7016
    switch (c = nextc()) {
7016
    c = nextc();
7017
    switch (c) {
7018
      case 0xF0: {
7019
        unsigned char c1 = nextc();
7020
	if (c1 == 0x9F) {
7021
	    unsigned char c2 = nextc();
7022
	    if (c2 == 0x9A) {
7023
		unsigned char c3 = nextc();
7024
		if (c3 == 0x85) {
7025
		    set_yylval_id(idLambda);
7026
		    lex_state = EXPR_ENDFN;
7027
		    return tLAMBDA;
7028
		}
7029
		pushback(c3);
7030
	    }
7031
	    pushback(c2);
7032
	}
7033
	pushback(c1);
7034
	pushback(c);
7035
	break;
7036
      }
7017 7037
      case '\0':		/* NUL */
7018 7038
      case '\004':		/* ^D */
7019 7039
      case '\032':		/* ^Z */