From 95ca6c028c6b566bc21b361551a0200251eeaedf Mon Sep 17 00:00:00 2001 From: John Winans Date: Fri, 19 Nov 1993 09:27:15 +0000 Subject: [PATCH] *** empty log message *** --- src/toolsComm/flex/EPICS_READ_THIS | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/toolsComm/flex/EPICS_READ_THIS b/src/toolsComm/flex/EPICS_READ_THIS index ce8063262..de7c81a8d 100644 --- a/src/toolsComm/flex/EPICS_READ_THIS +++ b/src/toolsComm/flex/EPICS_READ_THIS @@ -1,18 +1,21 @@ + This is the regular GNU flex that has had its skeleton file munged with in order to force it to build lex programs that have all their functions and -variables defined as static. Some of the files in this directory were -generated by the flex distribution itself. They probably should have been -made into earlyTarget() macros in the Imakefiles, but it was easier to -simply generate them and check them into SCCS, because they will never change. +variables defined as static. -The file in Unix/share/sun4/toolsComm/flex/flex.skel.static is simply -a copy of flex.skel that has been altered to make all the components into -static variables. +The file in Unix/share/bin/flex.skel.static is simply a copy of flex.skel that +has been altered to make all the components into static variables. In order to be able to actually use the lex files produced by this flavor of flex, you must #include them into your C programs. Otherwise they will be uncallable (all functions are static.) This is typical of lex programs -that are used by yacc programs anyway. Often a yacc program file will -#include the lex-generated C-file anyway. +that are used by yacc programs anyway. --John Winans 11-18-93 + +(NOTE TO EPICS SYSTEM MAINTATNERS... the only thing different about this flex +and the GNU distribution is the Makefile->Imakefile transition, and the +modification of the skeleton file. It should be easy enough to start over +again if you wish to remove the imake stuff... just make sure you get one that +has the same skeleton version so you can use our hacked one... or do the diff +game on them.)