Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0211/1

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Be more 8-bit safe.
 [rsc] --rw-rw-r-- M 771144 glenda sys 4074 Feb 11 09:15 sys/lib/lex/ncform
	/n/sourcesdump/2006/0211/plan9/sys/lib/lex/ncform:9,15 - 
	/n/sourcesdump/2006/0212/plan9/sys/lib/lex/ncform:9,15
	  extern struct yysvf *yyestate;
	  int yyprevious = YYNEWLINE;
	  # ifdef LEXDEBUG
	- extern void allprint(char);
	+ extern void allprint(int);
	  # endif
	  yylook(void){
	  	struct yysvf *yystate, **lsp;
	/n/sourcesdump/2006/0211/plan9/sys/lib/lex/ncform:113,119 - 
	/n/sourcesdump/2006/0212/plan9/sys/lib/lex/ncform:113,119
	  			}
	  # ifdef LEXDEBUG
	  		if(debug){
	- 			fprintf(yyout,"stopped at %d with ",*(lsp-1)-yysvec-1);
	+ 			fprintf(yyout,"stopped at %d with ",lsp>yylstate?*(lsp-1)-yysvec-1:0);
	  			allprint(yych);
	  			putchar('\n');
	  			}


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.