delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/31/03:00:49

From: pjfarley AT banet DOT net (Peter J. Farley III)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Flex 2.5.4 patch for redefining input() and/or unput()
Date: Fri, 31 Mar 2000 05:25:51 GMT
Message-ID: <38e43585.12680226@news3.banet.net>
References: <38e41143 DOT 3396939 AT news3 DOT banet DOT net>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 129.37.54.34
X-Trace: 31 Mar 2000 05:24:33 GMT, 129.37.54.34
Organization: Global Network Services - Remote Access Mail & News Services
Lines: 35
X-Complaints-To: abuse AT prserv DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sorry to have to follow up my own post, but there is an additional
patch required to allow "make check" to succeed.  "initscan.c" is a
bootstrap file built (I think manually, there is no automated way to
rebuild it) from "flex.skl", so any changes to "flex.skl" also have to
be made in parallel to "initscan.c".

<===============initscan.dif================================>
*** initscan.c00	Wed Sep 11 03:01:06 1996
--- initscan.c	Fri Mar 31 00:02:34 2000
***************
*** 3128,3133 ****
--- 3128,3134 ----
  #endif	/* ifndef YY_NO_UNPUT */
  
  
+ #ifndef YY_NO_INPUT
  #ifdef __cplusplus
  static int yyinput()
  #else
***************
*** 3200,3205 ****
--- 3201,3207 ----
  
  	return c;
  	}
+ #endif	/* ifndef YY_NO_INPUT */
  
  
  #ifdef YY_USE_PROTOS
<===============initscan.dif================================>


----------------------------------------------------
Peter J. Farley III (pjfarley AT nospam DOT dorsai DOT org OR
                     pjfarley AT nospam DOT banet DOT net)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019