🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #1237

bug in man page of lex(1)

#1237
From: David Lai
Date: Thu, 17 Nov 1988 01:04
17 lines
958 bytes
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@larry.mcrcim.mcgill.edu || ...watmath!onfcanim!vedge!lai)
Technical Details
Message-ID: <1953@vedge.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!bloom-beacon!mcgill-vision!iros1!vedge!lai

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!bloom-beacon!mcgill-vision!iros1!vedge!lai
From: lai@vedge.UUCP (David Lai)
Newsgroups: comp.bugs.4bsd,comp.bugs.sys5
Subject: bug in man page of lex(1)
Keywords: yyless
Message-ID: <1953@vedge.UUCP>
Date: 17 Nov 88 01:04:03 GMT
Organization: Visual Edge Software, St. Laurent, Quebec
Lines: 17