=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/lex/scan.l,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/lex/scan.l 2015/11/19 23:20:34 1.11 +++ src/usr.bin/lex/scan.l 2015/11/19 23:34:56 1.12 @@ -1,4 +1,4 @@ -/* $OpenBSD: scan.l,v 1.11 2015/11/19 23:20:34 tedu Exp $ */ +/* $OpenBSD: scan.l,v 1.12 2015/11/19 23:34:56 mmcc Exp $ */ /* scan.l - scanner for flex input -*-C-*- */ @@ -137,7 +137,7 @@ int doing_codeblock = false; int i, brace_depth=0, brace_start_line=0; - Char nmdef[MAXLINE]; + u_char nmdef[MAXLINE]; { @@ -630,7 +630,7 @@ * The reason it was disabled is so yacc/bison can parse * ccl operations, such as ccl difference and union. */ - && (cclval = ccllookup( (Char *) nmstr )) != 0 ) + && (cclval = ccllookup( (u_char *) nmstr )) != 0 ) { if ( input() != ']' ) synerr( _( "bad character class" ) ); @@ -644,7 +644,7 @@ /* We fudge a bit. We know that this ccl will * soon be numbered as lastccl + 1 by cclinit. */ - cclinstal( (Char *) nmstr, lastccl + 1 ); + cclinstal( (u_char *) nmstr, lastccl + 1 ); /* Push back everything but the leading bracket * so the ccl can be rescanned. @@ -664,7 +664,7 @@ * context. */ "{"{NAME}"}"[[:space:]]? { - Char *nmdefptr; + u_char *nmdefptr; int end_is_ws, end_ch; end_ch = yytext[yyleng-1]; @@ -950,7 +950,7 @@ } {ESCSEQ} { - yylval = myesc( (Char *) yytext ); + yylval = myesc( (u_char *) yytext ); if ( YY_START == FIRSTCCL ) BEGIN(CCL);