Skip site navigation (1)Skip section navigation (2)
Date:      24 Jul 2001 18:28:06 +0200
From:      Assar Westerlund <assar@FreeBSD.org>
To:        "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/aic7xxx/aicasm aicasm_scan.l
Message-ID:  <5llmlee1gp.fsf@assaris.sics.se>
In-Reply-To: "Justin T. Gibbs"'s message of "Mon, 23 Jul 2001 10:53:16 -0600"
References:  <200107231653.f6NGrGU60502@aslan.scsiguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-=-=

"Justin T. Gibbs" <gibbs@scsiguy.com> writes:
> I'd rather not make the scanner any more unprotable than it currently
> is.  If Solaris lex cannot build the scanner, then that is a bug.

I'll send you errors/fixes for that later.

> What attribute is that?  I don't recall any use of "__attribute__"
> anywhere in the assembler.

This was in flex.skl.  Anyways, is the appended patch ok with you?

> BTW, the last commit to the assembler by its maintianer was less
> than a week ago.  This probably means that it is maintained code.
> Please contact the maintianer for future changes.

ok

/assar


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment

Index: aicasm_scan.l
===================================================================
RCS file: /home/ncvs/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l,v
retrieving revision 1.16
diff -u -w -u -w -r1.16 aicasm_scan.l
--- aicasm_scan.l	2001/07/22 23:15:14	1.16
+++ aicasm_scan.l	2001/07/24 16:26:29
@@ -55,9 +55,9 @@
 char *string_buf_ptr;
 int  parren_count;
 int  quote_count;
-%}
 
-%option nounput
+#define YY_NO_UNPUT
+%}
 
 PATH		[-/A-Za-z0-9_.]*[./][-/A-Za-z0-9_.]*
 WORD		[A-Za-z_][-A-Za-z_0-9]*

--=-=-=--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5llmlee1gp.fsf>