All pastes #32187 Raw Edit

Stuff

public text v1 · immutable
#32187 ·published 2005-12-03 01:15 UTC
rendered paste body
							if ((unsigned char)c >= 0x80 && IsDBCSLeadByte(yytext[0])){

								psz[i++] = (unsigned char)c;

								if (i >= l){

									psz = (char*)realloc(psz, l += 128);

									if (psz == NULL){

										yyerror("Less memory for string");

										break;

									}

								}

								c = yyinput();

							}