From owner-cvs-usrsbin Sat Jul 11 19:19:31 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA04536 for cvs-usrsbin-outgoing; Sat, 11 Jul 1998 19:19:31 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA04380; Sat, 11 Jul 1998 19:18:57 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA14296; Sat, 11 Jul 1998 19:18:43 -0700 (PDT) Date: Sat, 11 Jul 1998 19:18:43 -0700 (PDT) Message-Id: <199807120218.TAA14296@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/config config.y Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/07/11 19:18:43 PDT Modified files: usr.sbin/config config.y Log: Fixed off-by-1 errors in option line numbers. yyline is 0-based, but was used as if it is 1-based. This happened to give the correct result for options without values because of a compensating error in newline lexing. Didn't fix the latter, so line numbers in yyerror() may still be 1 too high in some cases. Revision Changes Path 1.25 +6 -2 src/usr.sbin/config/config.y