From owner-freebsd-hackers Fri Mar 29 11:15:55 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA12903 for hackers-outgoing; Fri, 29 Mar 1996 11:15:55 -0800 (PST) Received: from novell.com (sjf-ums.sjf.novell.com [130.57.10.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA12898 for ; Fri, 29 Mar 1996 11:15:53 -0800 (PST) Received: from INET-SJF-Message_Server by fromGW with Novell_GroupWise; Fri, 29 Mar 1996 11:12:52 -0800 Content-Type: text/plain Message-ID: X-Mailer: Novell GroupWise 4.1 Date: Fri, 29 Mar 1996 10:47:33 -0800 From: DARREND@novell.com (Darren Davis) To: DARREND@novell.com, leisner@sdsp.mc.xerox.com Cc: hackers@freebsd.org, narvi@haldjas.folklore.ee, terry@lambert.org Subject: Re: Flex - Reply - Reply Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>> Marty Leisner 3/29 11:32am >>> Which flex is it? Did you try flex -l? If you can get a newer flex, try it... marty Yes, I allready tried the -l option with about the same effect. bash$ lex -V lex version 2.4.7 bash$ bash$ make lex -l -n -t ./scanner.l >scanner.c cc -c -O -DBSD -ansi -w scanner.c ./scanner.l: In function `yylex': ./scanner.l:113: `yysptr' undeclared (first use this function) ./scanner.l:113: (Each undeclared identifier is reported only once ./scanner.l:113: for each function it appears in.) ./scanner.l:400: `yytchar' undeclared (first use this function) ./scanner.l:400: `yysbuf' undeclared (first use this function) ./scanner.l: At top level: ./scanner.l:932: parse error before `=' ./scanner.l:937: conflicting types for `yy_c_buf_p' scanner.c:203: previous declaration of `yy_c_buf_p' ./scanner.l:937: initializer element is not constant ./scanner.l:939: parse error before `if' ./scanner.l:965: conflicting types for `yyrestart' scanner.c:213: previous declaration of `yyrestart' ./scanner.l:969: parse error before `return' ./scanner.l:989: initializer element is not constant ./scanner.l:990: redefinition of `yy_c_buf_p' ./scanner.l:937: `yy_c_buf_p' previously defined here ./scanner.l:991: conflicting types for `yy_hold_char' scanner.c:195: previous declaration of `yy_hold_char' ./scanner.l:991: initializer element is not constant ./scanner.l:993: parse error before `return' ./scanner.l:1003: conflicting types for `yyrestart' ./scanner.l:965: previous declaration of `yyrestart' ./scanner.l: In function `multicharconstant': ./scanner.l:674: `yytchar' undeclared (first use this function) ./scanner.l:674: `yysptr' undeclared (first use this function) ./scanner.l:674: `yysbuf' undeclared (first use this function) *** Error code 1 I do not get a single error while compiling this under UnixWare 2.1 (no surprise.) Darren R. Davis Senior Software Engineer Novell, Inc.