>Number: 167480 >Category: bin >Synopsis: [PATCH] language fixes to usr.bin/mkesdb and usr.bin/mkcsmapper >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 01 11:00:23 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Niclas Zeising >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD vincent.daemonic.se 9.0-RELEASE FreeBSD 9.0-RELEASE #0 r232364: Fri Mar 2 01:14:23 CET 2012 r...@vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64
>Description: The error message in the lex scanner in usr.bin/mkesdb and usr.bin/mkcsmapper could be improved language wise. >How-To-Repeat: >Fix: Attached patch improves the language. --- head.usr.bin.spellfix.diff begins here --- Index: head/usr.bin/mkesdb/lex.l =================================================================== --- head/usr.bin/mkesdb/lex.l (revision 234868) +++ head/usr.bin/mkesdb/lex.l (working copy) @@ -59,7 +60,7 @@ <COMMENT>[\n] { line_number++; } <COMMENT>. { } <COMMENT><<EOF>> { - yyerror("unexpected file end (unterminate comment)\n"); + yyerror("unexpected end of file (unterminated comment)\n"); exit(1); } Index: head/usr.bin/mkcsmapper/lex.l =================================================================== --- head/usr.bin/mkcsmapper/lex.l (revision 234868) +++ head/usr.bin/mkcsmapper/lex.l (working copy) <COMMENT>[\n] { line_number++; } <COMMENT>. { } <COMMENT><<EOF>> { - yyerror("unexpected file end (unterminate comment)\n"); + yyerror("unexpected end of file (unterminated comment)\n"); exit(1); } --- head.usr.bin.spellfix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"