bug in man page of lex(1)

David Lai lai at vedge.UUCP
Thu Nov 17 11:04:03 AEST 1988


The lex(1) man page says:

	...yyless(p) ... p should be between yytext and yytext+yyleng

however the lex users manual says:

	yyless(n), n=number of chars to retain in yytext

The bahaviour of lex is that of the latter.  So change the lex(1)
man page to show that the argument to yyless() is a number, not a
pointer.

(Error appears in Sun (bsd) manuals, and HPUX (SysV) manuals).
-- 
	"What is a DJ if he can't scratch?"  - Uncle Jamms Army
The views expressed are those of the author, and not of Visual Edge, nor Usenet.
David Lai (vedge!lai at larry.mcrcim.mcgill.edu || ...watmath!onfcanim!vedge!lai)



More information about the Comp.bugs.sys5 mailing list