Index: contrib/flex/config.rpath =================================================================== --- contrib/flex/config.rpath (revision 0) +++ contrib/flex/config.rpath (working copy) @@ -0,0 +1,548 @@ +#! /bin/sh +# Output a system dependent set of variables, describing how to set the +# run time search path of shared libraries in an executable. +# +# Copyright 1996-2003 Free Software Foundation, Inc. +# Taken from GNU libtool, 2001 +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. +# +# The first argument passed to this file is the canonical host specification, +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld +# should be set by the caller. +# +# The set of defined variables is at the end of this script. + +# Known limitations: +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer +# than 256 bytes, otherwise the compiler driver will dump core. The only +# known workaround is to choose shorter directory names for the build +# directory and/or the installation directory. + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +shrext=.so + +host="$1" +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. + +wl= +if test "$GCC" = yes; then + wl='-Wl,' +else + case "$host_os" in + aix*) + wl='-Wl,' + ;; + mingw* | pw32* | os2*) + ;; + hpux9* | hpux10* | hpux11*) + wl='-Wl,' + ;; + irix5* | irix6* | nonstopux*) + wl='-Wl,' + ;; + newsos6) + ;; + linux*) + case $CC in + icc|ecc) + wl='-Wl,' + ;; + ccc) + wl='-Wl,' + ;; + esac + ;; + osf3* | osf4* | osf5*) + wl='-Wl,' + ;; + sco3.2v5*) + ;; + solaris*) + wl='-Wl,' + ;; + sunos4*) + wl='-Qoption ld ' + ;; + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + wl='-Wl,' + ;; + sysv4*MP*) + ;; + uts4*) + ;; + esac +fi + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. + +hardcode_libdir_flag_spec= +hardcode_libdir_separator= +hardcode_direct=no +hardcode_minus_L=no + +case "$host_os" in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; +esac + +ld_shlibs=yes +if test "$with_gnu_ld" = yes; then + case "$host_os" in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can use + # them. + ld_shlibs=no + ;; + beos*) + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + cygwin* | mingw* | pw32*) + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + netbsd*) + ;; + solaris* | sysv5*) + if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + sunos4*) + hardcode_direct=yes + ;; + *) + if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + esac + if test "$ld_shlibs" = yes; then + # Unlike libtool, we use -rpath here, not --rpath, since the documented + # option of GNU ld is called -rpath, not --rpath. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + fi +else + case "$host_os" in + aix3*) + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + else + aix_use_runtimelinking=no + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + fi + hardcode_direct=yes + hardcode_libdir_separator=':' + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + fi + # Begin _LT_AC_SYS_LIBPATH_AIX. + echo 'int main () { return 0; }' > conftest.c + ${CC} ${LDFLAGS} conftest.c -o conftest + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + fi + if test -z "$aix_libpath"; then + aix_libpath="/usr/lib:/lib" + fi + rm -f conftest.c conftest + # End _LT_AC_SYS_LIBPATH_AIX. + if test "$aix_use_runtimelinking" = yes; then + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + else + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + fi + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + bsdi4*) + ;; + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + libext=lib + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + hardcode_direct=no + fi + ;; + dgux*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + freebsd1*) + ld_shlibs=no + ;; + freebsd2.2*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + freebsd2*) + hardcode_direct=yes + hardcode_minus_L=yes + ;; + freebsd*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + hpux9*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + hpux10* | hpux11*) + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + irix5* | irix6* | nonstopux*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + netbsd*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + newsos6) + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + openbsd*) + hardcode_direct=yes + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + else + case "$host_os" in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + osf3*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + osf4* | osf5*) + if test "$GCC" = yes; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + # Both cc and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + sco3.2v5*) + ;; + solaris*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + sunos4*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + ;; + sysv4) + case $host_vendor in + sni) + hardcode_direct=yes # is this really true??? + ;; + siemens) + hardcode_direct=no + ;; + motorola) + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + ;; + sysv4.3*) + ;; + sysv4*MP*) + if test -d /usr/nec; then + ld_shlibs=yes + fi + ;; + sysv4.2uw2*) + hardcode_direct=yes + hardcode_minus_L=no + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + ;; + sysv5*) + hardcode_libdir_flag_spec= + ;; + uts4*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + *) + ld_shlibs=no + ;; + esac +fi + +# Check dynamic linker characteristics +# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. +libname_spec='lib$name' +case "$host_os" in + aix3*) + ;; + aix4* | aix5*) + ;; + amigaos*) + ;; + beos*) + ;; + bsdi4*) + ;; + cygwin* | mingw* | pw32*) + shrext=.dll + ;; + darwin* | rhapsody*) + shrext=.dylib + ;; + dgux*) + ;; + freebsd1*) + ;; + freebsd*) + ;; + gnu*) + ;; + hpux9* | hpux10* | hpux11*) + case "$host_cpu" in + ia64*) + shrext=.so + ;; + hppa*64*) + shrext=.sl + ;; + *) + shrext=.sl + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case "$host_os" in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; + *) libsuff= shlibsuff= ;; + esac + ;; + esac + ;; + linux*oldld* | linux*aout* | linux*coff*) + ;; + linux*) + ;; + netbsd*) + ;; + newsos6) + ;; + nto-qnx) + ;; + openbsd*) + ;; + os2*) + libname_spec='$name' + shrext=.dll + ;; + osf3* | osf4* | osf5*) + ;; + sco3.2v5*) + ;; + solaris*) + ;; + sunos4*) + ;; + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + ;; + sysv4*MP*) + ;; + uts4*) + ;; +esac + +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` +shlibext=`echo "$shrext" | sed -e 's,^\.,,'` +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + +sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' < 0) + fprintf (stderr, + _ + ("Variable trailing context rule at line %d\n"), + rule_linenum[num_rules]); + + variable_trailing_context_rules = true; + } + + else { + rule_type[num_rules] = RULE_NORMAL; + + if (headcnt > 0 || trailcnt > 0) { + /* Do trailing context magic to not match the trailing + * characters. + */ + char *scanner_cp = "YY_G(yy_c_buf_p) = yy_cp"; + char *scanner_bp = "yy_bp"; + + add_action + ("*yy_cp = YY_G(yy_hold_char); /* undo effects of setting up yytext */\n"); + + if (headcnt > 0) { + snprintf (action_text, sizeof(action_text), "%s = %s + %d;\n", + scanner_cp, scanner_bp, headcnt); + add_action (action_text); + } + + else { + snprintf (action_text, sizeof(action_text), "%s -= %d;\n", + scanner_cp, trailcnt); + add_action (action_text); + } + + add_action + ("YY_DO_BEFORE_ACTION; /* set up yytext again */\n"); + } + } + + /* Okay, in the action code at this point yytext and yyleng have + * their proper final values for this rule, so here's the point + * to do any user action. But don't do it for continued actions, + * as that'll result in multiple YY_RULE_SETUP's. + */ + if (!continued_action) + add_action ("YY_RULE_SETUP\n"); + + line_directive_out ((FILE *) 0, 1); +} + + +/* link_machines - connect two machines together + * + * synopsis + * + * new = link_machines( first, last ); + * + * new - a machine constructed by connecting first to last + * first - the machine whose successor is to be last + * last - the machine whose predecessor is to be first + * + * note: this routine concatenates the machine first with the machine + * last to produce a machine new which will pattern-match first first + * and then last, and will fail if either of the sub-patterns fails. + * FIRST is set to new by the operation. last is unmolested. + */ + +int link_machines (first, last) + int first, last; +{ + if (first == NIL) + return last; + + else if (last == NIL) + return first; + + else { + mkxtion (finalst[first], last); + finalst[first] = finalst[last]; + lastst[first] = MAX (lastst[first], lastst[last]); + firstst[first] = MIN (firstst[first], firstst[last]); + + return first; + } +} + + +/* mark_beginning_as_normal - mark each "beginning" state in a machine + * as being a "normal" (i.e., not trailing context- + * associated) states + * + * The "beginning" states are the epsilon closure of the first state + */ + +void mark_beginning_as_normal (mach) + register int mach; +{ + switch (state_type[mach]) { + case STATE_NORMAL: + /* Oh, we've already visited here. */ + return; + + case STATE_TRAILING_CONTEXT: + state_type[mach] = STATE_NORMAL; + + if (transchar[mach] == SYM_EPSILON) { + if (trans1[mach] != NO_TRANSITION) + mark_beginning_as_normal (trans1[mach]); + + if (trans2[mach] != NO_TRANSITION) + mark_beginning_as_normal (trans2[mach]); + } + break; + + default: + flexerror (_ + ("bad state type in mark_beginning_as_normal()")); + break; + } +} + + +/* mkbranch - make a machine that branches to two machines + * + * synopsis + * + * branch = mkbranch( first, second ); + * + * branch - a machine which matches either first's pattern or second's + * first, second - machines whose patterns are to be or'ed (the | operator) + * + * Note that first and second are NEITHER destroyed by the operation. Also, + * the resulting machine CANNOT be used with any other "mk" operation except + * more mkbranch's. Compare with mkor() + */ + +int mkbranch (first, second) + int first, second; +{ + int eps; + + if (first == NO_TRANSITION) + return second; + + else if (second == NO_TRANSITION) + return first; + + eps = mkstate (SYM_EPSILON); + + mkxtion (eps, first); + mkxtion (eps, second); + + return eps; +} + + +/* mkclos - convert a machine into a closure + * + * synopsis + * new = mkclos( state ); + * + * new - a new state which matches the closure of "state" + */ + +int mkclos (state) + int state; +{ + return mkopt (mkposcl (state)); +} + + +/* mkopt - make a machine optional + * + * synopsis + * + * new = mkopt( mach ); + * + * new - a machine which optionally matches whatever mach matched + * mach - the machine to make optional + * + * notes: + * 1. mach must be the last machine created + * 2. mach is destroyed by the call + */ + +int mkopt (mach) + int mach; +{ + int eps; + + if (!SUPER_FREE_EPSILON (finalst[mach])) { + eps = mkstate (SYM_EPSILON); + mach = link_machines (mach, eps); + } + + /* Can't skimp on the following if FREE_EPSILON(mach) is true because + * some state interior to "mach" might point back to the beginning + * for a closure. + */ + eps = mkstate (SYM_EPSILON); + mach = link_machines (eps, mach); + + mkxtion (mach, finalst[mach]); + + return mach; +} + + +/* mkor - make a machine that matches either one of two machines + * + * synopsis + * + * new = mkor( first, second ); + * + * new - a machine which matches either first's pattern or second's + * first, second - machines whose patterns are to be or'ed (the | operator) + * + * note that first and second are both destroyed by the operation + * the code is rather convoluted because an attempt is made to minimize + * the number of epsilon states needed + */ + +int mkor (first, second) + int first, second; +{ + int eps, orend; + + if (first == NIL) + return second; + + else if (second == NIL) + return first; + + else { + /* See comment in mkopt() about why we can't use the first + * state of "first" or "second" if they satisfy "FREE_EPSILON". + */ + eps = mkstate (SYM_EPSILON); + + first = link_machines (eps, first); + + mkxtion (first, second); + + if (SUPER_FREE_EPSILON (finalst[first]) && + accptnum[finalst[first]] == NIL) { + orend = finalst[first]; + mkxtion (finalst[second], orend); + } + + else if (SUPER_FREE_EPSILON (finalst[second]) && + accptnum[finalst[second]] == NIL) { + orend = finalst[second]; + mkxtion (finalst[first], orend); + } + + else { + eps = mkstate (SYM_EPSILON); + + first = link_machines (first, eps); + orend = finalst[first]; + + mkxtion (finalst[second], orend); + } + } + + finalst[first] = orend; + return first; +} + + +/* mkposcl - convert a machine into a positive closure + * + * synopsis + * new = mkposcl( state ); + * + * new - a machine matching the positive closure of "state" + */ + +int mkposcl (state) + int state; +{ + int eps; + + if (SUPER_FREE_EPSILON (finalst[state])) { + mkxtion (finalst[state], state); + return state; + } + + else { + eps = mkstate (SYM_EPSILON); + mkxtion (eps, state); + return link_machines (state, eps); + } +} + + +/* mkrep - make a replicated machine + * + * synopsis + * new = mkrep( mach, lb, ub ); + * + * new - a machine that matches whatever "mach" matched from "lb" + * number of times to "ub" number of times + * + * note + * if "ub" is INFINITE_REPEAT then "new" matches "lb" or more occurrences of "mach" + */ + +int mkrep (mach, lb, ub) + int mach, lb, ub; +{ + int base_mach, tail, copy, i; + + base_mach = copysingl (mach, lb - 1); + + if (ub == INFINITE_REPEAT) { + copy = dupmachine (mach); + mach = link_machines (mach, + link_machines (base_mach, + mkclos (copy))); + } + + else { + tail = mkstate (SYM_EPSILON); + + for (i = lb; i < ub; ++i) { + copy = dupmachine (mach); + tail = mkopt (link_machines (copy, tail)); + } + + mach = + link_machines (mach, + link_machines (base_mach, tail)); + } + + return mach; +} + + +/* mkstate - create a state with a transition on a given symbol + * + * synopsis + * + * state = mkstate( sym ); + * + * state - a new state matching sym + * sym - the symbol the new state is to have an out-transition on + * + * note that this routine makes new states in ascending order through the + * state array (and increments LASTNFA accordingly). The routine DUPMACHINE + * relies on machines being made in ascending order and that they are + * CONTIGUOUS. Change it and you will have to rewrite DUPMACHINE (kludge + * that it admittedly is) + */ + +int mkstate (sym) + int sym; +{ + if (++lastnfa >= current_mns) { + if ((current_mns += MNS_INCREMENT) >= maximum_mns) + lerrif (_ + ("input rules are too complicated (>= %d NFA states)"), +current_mns); + + ++num_reallocs; + + firstst = reallocate_integer_array (firstst, current_mns); + lastst = reallocate_integer_array (lastst, current_mns); + finalst = reallocate_integer_array (finalst, current_mns); + transchar = + reallocate_integer_array (transchar, current_mns); + trans1 = reallocate_integer_array (trans1, current_mns); + trans2 = reallocate_integer_array (trans2, current_mns); + accptnum = + reallocate_integer_array (accptnum, current_mns); + assoc_rule = + reallocate_integer_array (assoc_rule, current_mns); + state_type = + reallocate_integer_array (state_type, current_mns); + } + + firstst[lastnfa] = lastnfa; + finalst[lastnfa] = lastnfa; + lastst[lastnfa] = lastnfa; + transchar[lastnfa] = sym; + trans1[lastnfa] = NO_TRANSITION; + trans2[lastnfa] = NO_TRANSITION; + accptnum[lastnfa] = NIL; + assoc_rule[lastnfa] = num_rules; + state_type[lastnfa] = current_state_type; + + /* Fix up equivalence classes base on this transition. Note that any + * character which has its own transition gets its own equivalence + * class. Thus only characters which are only in character classes + * have a chance at being in the same equivalence class. E.g. "a|b" + * puts 'a' and 'b' into two different equivalence classes. "[ab]" + * puts them in the same equivalence class (barring other differences + * elsewhere in the input). + */ + + if (sym < 0) { + /* We don't have to update the equivalence classes since + * that was already done when the ccl was created for the + * first time. + */ + } + + else if (sym == SYM_EPSILON) + ++numeps; + + else { + check_char (sym); + + if (useecs) + /* Map NUL's to csize. */ + mkechar (sym ? sym : csize, nextecm, ecgroup); + } + + return lastnfa; +} + + +/* mkxtion - make a transition from one state to another + * + * synopsis + * + * mkxtion( statefrom, stateto ); + * + * statefrom - the state from which the transition is to be made + * stateto - the state to which the transition is to be made + */ + +void mkxtion (statefrom, stateto) + int statefrom, stateto; +{ + if (trans1[statefrom] == NO_TRANSITION) + trans1[statefrom] = stateto; + + else if ((transchar[statefrom] != SYM_EPSILON) || + (trans2[statefrom] != NO_TRANSITION)) + flexfatal (_("found too many transitions in mkxtion()")); + + else { /* second out-transition for an epsilon state */ + ++eps2; + trans2[statefrom] = stateto; + } +} + +/* new_rule - initialize for a new rule */ + +void new_rule () +{ + if (++num_rules >= current_max_rules) { + ++num_reallocs; + current_max_rules += MAX_RULES_INCREMENT; + rule_type = reallocate_integer_array (rule_type, + current_max_rules); + rule_linenum = reallocate_integer_array (rule_linenum, + current_max_rules); + rule_useful = reallocate_integer_array (rule_useful, + current_max_rules); + rule_has_nl = reallocate_bool_array (rule_has_nl, + current_max_rules); + } + + if (num_rules > MAX_RULE) + lerrif (_("too many rules (> %d)!"), MAX_RULE); + + rule_linenum[num_rules] = linenum; + rule_useful[num_rules] = false; + rule_has_nl[num_rules] = false; +} Index: contrib/flex/libmain.c =================================================================== --- contrib/flex/libmain.c (revision 0) +++ contrib/flex/libmain.c (working copy) @@ -0,0 +1,33 @@ +/* libmain - flex run-time support library "main" function */ + +/* This file is part of flex. */ + +/* Redistribution and use in source and binary forms, with or without */ +/* modification, are permitted provided that the following conditions */ +/* are met: */ + +/* 1. Redistributions of source code must retain the above copyright */ +/* notice, this list of conditions and the following disclaimer. */ +/* 2. Redistributions in binary form must reproduce the above copyright */ +/* notice, this list of conditions and the following disclaimer in the */ +/* documentation and/or other materials provided with the distribution. */ + +/* Neither the name of the University nor the names of its contributors */ +/* may be used to endorse or promote products derived from this software */ +/* without specific prior written permission. */ + +/* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR */ +/* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ +/* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ +/* PURPOSE. */ + +extern int yylex (); + +int main (argc, argv) + int argc; + char *argv[]; +{ + while (yylex () != 0) ; + + return 0; +} Index: contrib/flex/doc/Makefile.in =================================================================== --- contrib/flex/doc/Makefile.in (revision 0) +++ contrib/flex/doc/Makefile.in (working copy) @@ -0,0 +1,560 @@ +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = doc +DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/stamp-vti \ + $(srcdir)/version.texi mdate-sh texinfo.tex +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +INFO_DEPS = $(srcdir)/flex.info +am__TEXINFO_TEX_DIR = $(srcdir) +DVIS = flex.dvi +PDFS = flex.pdf +PSS = flex.ps +HTMLS = flex.html +TEXINFOS = flex.texi +TEXI2DVI = texi2dvi +TEXI2PDF = $(TEXI2DVI) --pdf --batch +MAKEINFOHTML = $(MAKEINFO) --html +AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) +DVIPS = dvips +am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" +man1dir = $(mandir)/man1 +NROFF = nroff +MANS = $(dist_man_MANS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BISON = @BISON@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GMSGFMT = @GMSGFMT@ +HELP2MAN = @HELP2MAN@ +INDENT = @INDENT@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +M4 = @M4@ +MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +YACC = @YACC@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +help2man = @HELP2MAN@ +info_TEXINFOS = flex.texi +dist_man_MANS = flex.1 +EXTRA_DIST = flex.pdf +CLEANFILES = \ + flex.hks \ + flex.ops + +all: all-am + +.SUFFIXES: +.SUFFIXES: .dvi .html .info .pdf .ps .texi +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits doc/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnits doc/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +.texi.info: + restore=: && backupdir="$(am__leading_dot)am$$$$" && \ + am__cwd=`pwd` && cd $(srcdir) && \ + rm -rf $$backupdir && mkdir $$backupdir && \ + if ($(MAKEINFO) --version) >/dev/null 2>&1; then \ + for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \ + if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \ + done; \ + else :; fi && \ + cd "$$am__cwd"; \ + if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ + -o $@ $<; \ + then \ + rc=0; \ + cd $(srcdir); \ + else \ + rc=$$?; \ + cd $(srcdir) && \ + $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \ + fi; \ + rm -rf $$backupdir; exit $$rc + +.texi.dvi: + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ + MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ + $(TEXI2DVI) $< + +.texi.pdf: + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ + MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ + $(TEXI2PDF) $< + +.texi.html: + rm -rf $(@:.html=.htp) + if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \ + -o $(@:.html=.htp) $<; \ + then \ + rm -rf $@; \ + if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \ + mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \ + else \ + if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \ + rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \ + exit 1; \ + fi +$(srcdir)/flex.info: flex.texi $(srcdir)/version.texi +flex.dvi: flex.texi $(srcdir)/version.texi +flex.pdf: flex.texi $(srcdir)/version.texi +flex.html: flex.texi $(srcdir)/version.texi +$(srcdir)/version.texi: $(srcdir)/stamp-vti +$(srcdir)/stamp-vti: flex.texi $(top_srcdir)/configure + @(dir=.; test -f ./flex.texi || dir=$(srcdir); \ + set `$(SHELL) $(srcdir)/mdate-sh $$dir/flex.texi`; \ + echo "@set UPDATED $$1 $$2 $$3"; \ + echo "@set UPDATED-MONTH $$2 $$3"; \ + echo "@set EDITION $(VERSION)"; \ + echo "@set VERSION $(VERSION)") > vti.tmp + @cmp -s vti.tmp $(srcdir)/version.texi \ + || (echo "Updating $(srcdir)/version.texi"; \ + cp vti.tmp $(srcdir)/version.texi) + -@rm -f vti.tmp + @cp $(srcdir)/version.texi $@ + +mostlyclean-vti: + -rm -f vti.tmp + +maintainer-clean-vti: + -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi +.dvi.ps: + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \ + $(DVIPS) -o $@ $< + +uninstall-info-am: + @$(PRE_UNINSTALL) + @if (install-info --version && \ + install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ + echo " install-info --info-dir='$(DESTDIR)$(infodir)' --remove '$(DESTDIR)$(infodir)/$$relfile'"; \ + install-info --info-dir="$(DESTDIR)$(infodir)" --remove "$(DESTDIR)$(infodir)/$$relfile"; \ + done; \ + else :; fi + @$(NORMAL_UNINSTALL) + @list='$(INFO_DEPS)'; \ + for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ + relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \ + (if cd "$(DESTDIR)$(infodir)"; then \ + echo " cd '$(DESTDIR)$(infodir)' && rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]"; \ + rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9] $$relfile_i[0-9] $$relfile_i[0-9][0-9]; \ + else :; fi); \ + done + +dist-info: $(INFO_DEPS) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + list='$(INFO_DEPS)'; \ + for base in $$list; do \ + case $$base in \ + $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \ + esac; \ + if test -f $$base; then d=.; else d=$(srcdir); fi; \ + for file in $$d/$$base*; do \ + relfile=`expr "$$file" : "$$d/\(.*\)"`; \ + test -f $(distdir)/$$relfile || \ + cp -p $$file $(distdir)/$$relfile; \ + done; \ + done + +mostlyclean-aminfo: + -rm -rf flex.aux flex.cp flex.cps flex.fn flex.fns flex.hk flex.hks flex.ky \ + flex.kys flex.log flex.op flex.ops flex.pg flex.pgs flex.tmp \ + flex.toc flex.tp flex.tps flex.vr flex.vrs flex.dvi flex.pdf \ + flex.ps flex.html + +maintainer-clean-aminfo: + @list='$(INFO_DEPS)'; for i in $$list; do \ + i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \ + echo " rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]"; \ + rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \ + done +install-man1: $(man1_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ + else file=$$i; fi; \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + case "$$ext" in \ + 1*) ;; \ + *) ext='1' ;; \ + esac; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ + done +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + case "$$ext" in \ + 1*) ;; \ + *) ext='1' ;; \ + esac; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ + rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ + done +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-info +check-am: all-am +check: check-am +all-am: Makefile $(INFO_DEPS) $(MANS) +installdirs: + for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: $(DVIS) + +html: html-am + +html-am: $(HTMLS) + +info: info-am + +info-am: $(INFO_DEPS) + +install-data-am: install-info-am install-man + +install-exec-am: + +install-info: install-info-am + +install-info-am: $(INFO_DEPS) + @$(NORMAL_INSTALL) + test -z "$(infodir)" || $(mkdir_p) "$(DESTDIR)$(infodir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + esac; \ + if test -f $$file; then d=.; else d=$(srcdir); fi; \ + file_i=`echo "$$file" | sed 's|\.info$$||;s|$$|.i|'`; \ + for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \ + $$d/$$file_i[0-9] $$d/$$file_i[0-9][0-9] ; do \ + if test -f $$ifile; then \ + relfile=`echo "$$ifile" | sed 's|^.*/||'`; \ + echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \ + $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \ + else : ; fi; \ + done; \ + done + @$(POST_INSTALL) + @if (install-info --version && \ + install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \ + list='$(INFO_DEPS)'; \ + for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ + echo " install-info --info-dir='$(DESTDIR)$(infodir)' '$(DESTDIR)$(infodir)/$$relfile'";\ + install-info --info-dir="$(DESTDIR)$(infodir)" "$(DESTDIR)$(infodir)/$$relfile" || :;\ + done; \ + else : ; fi +install-man: install-man1 + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-aminfo \ + maintainer-clean-generic maintainer-clean-vti + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-aminfo mostlyclean-generic mostlyclean-vti + +pdf: pdf-am + +pdf-am: $(PDFS) + +ps: ps-am + +ps-am: $(PSS) + +uninstall-am: uninstall-info-am uninstall-man + +uninstall-man: uninstall-man1 + +.PHONY: all all-am check check-am clean clean-generic dist-info \ + distclean distclean-generic distdir dvi dvi-am html html-am \ + info info-am install install-am install-data install-data-am \ + install-exec install-exec-am install-info install-info-am \ + install-man install-man1 install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-aminfo maintainer-clean-generic \ + maintainer-clean-vti mostlyclean mostlyclean-aminfo \ + mostlyclean-generic mostlyclean-vti pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-info-am uninstall-man \ + uninstall-man1 + + +$(dist_man_MANS): $(top_srcdir)/main.c + for i in $(dist_man_MANS) ; do \ + $(help2man) --name='$(PACKAGE_NAME)' \ + --section=`echo $$i | sed -e 's/.*\.\([^.]*\)$$/\1/'` \ + ../flex$(EXEEXT) > $$i || rm -f $$i ; \ + done +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: Index: contrib/flex/doc/stamp-vti =================================================================== --- contrib/flex/doc/stamp-vti (revision 0) +++ contrib/flex/doc/stamp-vti (working copy) @@ -0,0 +1,4 @@ +@set UPDATED 10 September 2007 +@set UPDATED-MONTH September 2007 +@set EDITION 2.5.35 +@set VERSION 2.5.35 Index: contrib/flex/doc/flex.info-1 =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: contrib/flex/doc/flex.info-1 =================================================================== --- contrib/flex/doc/flex.info-1 (revision 0) +++ contrib/flex/doc/flex.info-1 (working copy) Property changes on: contrib/flex/doc/flex.info-1 ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Index: contrib/flex/doc/flex.info-2 =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: contrib/flex/doc/flex.info-2 =================================================================== --- contrib/flex/doc/flex.info-2 (revision 0) +++ contrib/flex/doc/flex.info-2 (working copy) Property changes on: contrib/flex/doc/flex.info-2 ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Index: contrib/flex/doc/flex.info =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: contrib/flex/doc/flex.info =================================================================== --- contrib/flex/doc/flex.info (revision 0) +++ contrib/flex/doc/flex.info (working copy) Property changes on: contrib/flex/doc/flex.info ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream Index: contrib/flex/doc/flex.1 =================================================================== --- contrib/flex/doc/flex.1 (revision 0) +++ contrib/flex/doc/flex.1 (working copy) @@ -0,0 +1,165 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH FLEX "1" "February 2008" "flex 2.5.35" "User Commands" +.SH NAME +flex \- the fast lexical analyser generator +.SH SYNOPSIS +.B flex +[\fIOPTIONS\fR] [\fIFILE\fR]... +.SH DESCRIPTION +Generates programs that perform pattern\-matching on text. +.SS "Table Compression:" +.TP +\fB\-Ca\fR, \fB\-\-align\fR +trade off larger tables for better memory alignment +.TP +\fB\-Ce\fR, \fB\-\-ecs\fR +construct equivalence classes +.TP +\fB\-Cf\fR +do not compress tables; use \fB\-f\fR representation +.TP +\fB\-CF\fR +do not compress tables; use \fB\-F\fR representation +.TP +\fB\-Cm\fR, \fB\-\-meta\-ecs\fR +construct meta\-equivalence classes +.TP +\fB\-Cr\fR, \fB\-\-read\fR +use read() instead of stdio for scanner input +.TP +\fB\-f\fR, \fB\-\-full\fR +generate fast, large scanner. Same as \fB\-Cfr\fR +.TP +\fB\-F\fR, \fB\-\-fast\fR +use alternate table representation. Same as \fB\-CFr\fR +.TP +\fB\-Cem\fR +default compression (same as \fB\-\-ecs\fR \fB\-\-meta\-ecs\fR) +.SS "Debugging:" +.TP +\fB\-d\fR, \fB\-\-debug\fR +enable debug mode in scanner +.TP +\fB\-b\fR, \fB\-\-backup\fR +write backing\-up information to lex.backup +.TP +\fB\-p\fR, \fB\-\-perf\-report\fR +write performance report to stderr +.TP +\fB\-s\fR, \fB\-\-nodefault\fR +suppress default rule to ECHO unmatched text +.TP +\fB\-T\fR, \fB\-\-trace\fR +flex should run in trace mode +.TP +\fB\-w\fR, \fB\-\-nowarn\fR +do not generate warnings +.TP +\fB\-v\fR, \fB\-\-verbose\fR +write summary of scanner statistics to stdout +.SS "Files:" +.TP +\fB\-o\fR, \fB\-\-outfile\fR=\fIFILE\fR +specify output filename +.TP +\fB\-S\fR, \fB\-\-skel\fR=\fIFILE\fR +specify skeleton file +.TP +\fB\-t\fR, \fB\-\-stdout\fR +write scanner on stdout instead of lex.yy.c +.TP +\fB\-\-yyclass\fR=\fINAME\fR +name of C++ class +.TP +\fB\-\-header\-file\fR=\fIFILE\fR +create a C header file in addition to the scanner +.HP +\fB\-\-tables\-file\fR[=\fIFILE\fR] write tables to FILE +.SS "Scanner behavior:" +.TP +\fB\-7\fR, \fB\-\-7bit\fR +generate 7\-bit scanner +.TP +\fB\-8\fR, \fB\-\-8bit\fR +generate 8\-bit scanner +.TP +\fB\-B\fR, \fB\-\-batch\fR +generate batch scanner (opposite of \fB\-I\fR) +.TP +\fB\-i\fR, \fB\-\-case\-insensitive\fR +ignore case in patterns +.TP +\fB\-l\fR, \fB\-\-lex\-compat\fR +maximal compatibility with original lex +.TP +\fB\-X\fR, \fB\-\-posix\-compat\fR +maximal compatibility with POSIX lex +.TP +\fB\-I\fR, \fB\-\-interactive\fR +generate interactive scanner (opposite of \fB\-B\fR) +.TP +\fB\-\-yylineno\fR +track line count in yylineno +.SS "Generated code:" +.TP +\-+, \fB\-\-c\fR++ +generate C++ scanner class +.TP +\fB\-Dmacro\fR[=\fIdefn\fR] +#define macro defn (default defn is '1') +.TP +\fB\-L\fR, \fB\-\-noline\fR +suppress #line directives in scanner +.TP +\fB\-P\fR, \fB\-\-prefix\fR=\fISTRING\fR +use STRING as prefix instead of "yy" +.TP +\fB\-R\fR, \fB\-\-reentrant\fR +generate a reentrant C scanner +.TP +\fB\-\-bison\-bridge\fR +scanner for bison pure parser. +.TP +\fB\-\-bison\-locations\fR +include yylloc support. +.TP +\fB\-\-stdinit\fR +initialize yyin/yyout to stdin/stdout +.HP +\fB\-\-noansi\-definitions\fR old\-style function definitions +.TP +\fB\-\-noansi\-prototypes\fR +empty parameter list in prototypes +.TP +\fB\-\-nounistd\fR +do not include +.TP +\fB\-\-noFUNCTION\fR +do not generate a particular FUNCTION +.SS "Miscellaneous:" +.TP +\fB\-c\fR +do\-nothing POSIX option +.TP +\fB\-n\fR +do\-nothing POSIX option +.HP +\-? +.TP +\fB\-h\fR, \fB\-\-help\fR +produce this help message +.TP +\fB\-V\fR, \fB\-\-version\fR +report flex version +.SH "SEE ALSO" +The full documentation for +.B flex +is maintained as a Texinfo manual. If the +.B info +and +.B flex +programs are properly installed at your site, the command +.IP +.B info flex +.PP +should give you access to the complete manual. Index: contrib/flex/doc/mdate-sh =================================================================== --- contrib/flex/doc/mdate-sh (revision 0) +++ contrib/flex/doc/mdate-sh (working copy) @@ -0,0 +1,201 @@ +#!/bin/sh +# Get modification time of a file or directory and pretty-print it. + +scriptversion=2005-06-29.22 + +# Copyright (C) 1995, 1996, 1997, 2003, 2004, 2005 Free Software +# Foundation, Inc. +# written by Ulrich Drepper , June 1995 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +case $1 in + '') + echo "$0: No file. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: mdate-sh [--help] [--version] FILE + +Pretty-print the modification time of FILE. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "mdate-sh $scriptversion" + exit $? + ;; +esac + +# Prevent date giving response in another language. +LANG=C +export LANG +LC_ALL=C +export LC_ALL +LC_TIME=C +export LC_TIME + +# GNU ls changes its time format in response to the TIME_STYLE +# variable. Since we cannot assume `unset' works, revert this +# variable to its documented default. +if test "${TIME_STYLE+set}" = set; then + TIME_STYLE=posix-long-iso + export TIME_STYLE +fi + +save_arg1=$1 + +# Find out how to get the extended ls output of a file or directory. +if ls -L /dev/null 1>/dev/null 2>&1; then + ls_command='ls -L -l -d' +else + ls_command='ls -l -d' +fi + +# A `ls -l' line looks as follows on OS/2. +# drwxrwx--- 0 Aug 11 2001 foo +# This differs from Unix, which adds ownership information. +# drwxrwx--- 2 root root 4096 Aug 11 2001 foo +# +# To find the date, we split the line on spaces and iterate on words +# until we find a month. This cannot work with files whose owner is a +# user named `Jan', or `Feb', etc. However, it's unlikely that `/' +# will be owned by a user whose name is a month. So we first look at +# the extended ls output of the root directory to decide how many +# words should be skipped to get the date. + +# On HPUX /bin/sh, "set" interprets "-rw-r--r--" as options, so the "x" below. +set x`ls -l -d /` + +# Find which argument is the month. +month= +command= +until test $month +do + shift + # Add another shift to the command. + command="$command shift;" + case $1 in + Jan) month=January; nummonth=1;; + Feb) month=February; nummonth=2;; + Mar) month=March; nummonth=3;; + Apr) month=April; nummonth=4;; + May) month=May; nummonth=5;; + Jun) month=June; nummonth=6;; + Jul) month=July; nummonth=7;; + Aug) month=August; nummonth=8;; + Sep) month=September; nummonth=9;; + Oct) month=October; nummonth=10;; + Nov) month=November; nummonth=11;; + Dec) month=December; nummonth=12;; + esac +done + +# Get the extended ls output of the file or directory. +set dummy x`eval "$ls_command \"\$save_arg1\""` + +# Remove all preceding arguments +eval $command + +# Because of the dummy argument above, month is in $2. +# +# On a POSIX system, we should have +# +# $# = 5 +# $1 = file size +# $2 = month +# $3 = day +# $4 = year or time +# $5 = filename +# +# On Darwin 7.7.0 and 7.6.0, we have +# +# $# = 4 +# $1 = day +# $2 = month +# $3 = year or time +# $4 = filename + +# Get the month. +case $2 in + Jan) month=January; nummonth=1;; + Feb) month=February; nummonth=2;; + Mar) month=March; nummonth=3;; + Apr) month=April; nummonth=4;; + May) month=May; nummonth=5;; + Jun) month=June; nummonth=6;; + Jul) month=July; nummonth=7;; + Aug) month=August; nummonth=8;; + Sep) month=September; nummonth=9;; + Oct) month=October; nummonth=10;; + Nov) month=November; nummonth=11;; + Dec) month=December; nummonth=12;; +esac + +case $3 in + ???*) day=$1;; + *) day=$3; shift;; +esac + +# Here we have to deal with the problem that the ls output gives either +# the time of day or the year. +case $3 in + *:*) set `date`; eval year=\$$# + case $2 in + Jan) nummonthtod=1;; + Feb) nummonthtod=2;; + Mar) nummonthtod=3;; + Apr) nummonthtod=4;; + May) nummonthtod=5;; + Jun) nummonthtod=6;; + Jul) nummonthtod=7;; + Aug) nummonthtod=8;; + Sep) nummonthtod=9;; + Oct) nummonthtod=10;; + Nov) nummonthtod=11;; + Dec) nummonthtod=12;; + esac + # For the first six month of the year the time notation can also + # be used for files modified in the last year. + if (expr $nummonth \> $nummonthtod) > /dev/null; + then + year=`expr $year - 1` + fi;; + *) year=$3;; +esac + +# The result. +echo $day $month $year + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: Property changes on: contrib/flex/doc/mdate-sh ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* Index: contrib/flex/doc/flex.pdf =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/pdf Index: contrib/flex/doc/flex.pdf =================================================================== --- contrib/flex/doc/flex.pdf (revision 0) +++ contrib/flex/doc/flex.pdf (working copy) Property changes on: contrib/flex/doc/flex.pdf ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/pdf Index: contrib/flex/doc/Makefile.am =================================================================== --- contrib/flex/doc/Makefile.am (revision 0) +++ contrib/flex/doc/Makefile.am (working copy) @@ -0,0 +1,16 @@ +help2man = @HELP2MAN@ + +info_TEXINFOS = flex.texi +dist_man_MANS = flex.1 +EXTRA_DIST = flex.pdf + +CLEANFILES = \ + flex.hks \ + flex.ops + +$(dist_man_MANS): $(top_srcdir)/main.c + for i in $(dist_man_MANS) ; do \ + $(help2man) --name='$(PACKAGE_NAME)' \ + --section=`echo $$i | sed -e 's/.*\.\([^.]*\)$$/\1/'` \ + ../flex$(EXEEXT) > $$i || rm -f $$i ; \ + done Index: contrib/flex/COPYING =================================================================== --- contrib/flex/COPYING (revision 0) +++ contrib/flex/COPYING (working copy) @@ -0,0 +1,42 @@ +Flex carries the copyright used for BSD software, slightly modified +because it originated at the Lawrence Berkeley (not Livermore!) Laboratory, +which operates under a contract with the Department of Energy: + +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007 The Flex Project. + +Copyright (c) 1990, 1997 The Regents of the University of California. +All rights reserved. + +This code is derived from software contributed to Berkeley by +Vern Paxson. + +The United States Government has rights in this work pursuant +to contract no. DE-AC03-76SF00098 between the United States +Department of Energy and the University of California. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +Neither the name of the University nor the names of its contributors +may be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. + +This basically says "do whatever you please with this software except +remove this notice or take advantage of the University's (or the flex +authors') name". + +Note that the "flex.skl" scanner skeleton carries no copyright notice. +You are free to do whatever you please with scanners generated using flex; +for them, you are not even bound by the above copyright. Index: contrib/flex/ccl.c =================================================================== --- contrib/flex/ccl.c (revision 0) +++ contrib/flex/ccl.c (working copy) @@ -0,0 +1,310 @@ +/* ccl - routines for character classes */ + +/* Copyright (c) 1990 The Regents of the University of California. */ +/* All rights reserved. */ + +/* This code is derived from software contributed to Berkeley by */ +/* Vern Paxson. */ + +/* The United States Government has rights in this work pursuant */ +/* to contract no. DE-AC03-76SF00098 between the United States */ + /* Department of Energy and the University of California. */ + +/* This file is part of flex. */ + +/* Redistribution and use in source and binary forms, with or without */ +/* modification, are permitted provided that the following conditions */ +/* are met: */ + +/* 1. Redistributions of source code must retain the above copyright */ +/* notice, this list of conditions and the following disclaimer. */ +/* 2. Redistributions in binary form must reproduce the above copyright */ +/* notice, this list of conditions and the following disclaimer in the */ +/* documentation and/or other materials provided with the distribution. */ + +/* Neither the name of the University nor the names of its contributors */ +/* may be used to endorse or promote products derived from this software */ +/* without specific prior written permission. */ + +/* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR */ +/* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ +/* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ +/* PURPOSE. */ + +#include "flexdef.h" + +/* return true if the chr is in the ccl. Takes negation into account. */ +static bool +ccl_contains (const int cclp, const int ch) +{ + int ind, len, i; + + len = ccllen[cclp]; + ind = cclmap[cclp]; + + for (i = 0; i < len; ++i) + if (ccltbl[ind + i] == ch) + return !cclng[cclp]; + + return cclng[cclp]; +} + + +/* ccladd - add a single character to a ccl */ + +void ccladd (cclp, ch) + int cclp; + int ch; +{ + int ind, len, newpos, i; + + check_char (ch); + + len = ccllen[cclp]; + ind = cclmap[cclp]; + + /* check to see if the character is already in the ccl */ + + for (i = 0; i < len; ++i) + if (ccltbl[ind + i] == ch) + return; + + /* mark newlines */ + if (ch == nlch) + ccl_has_nl[cclp] = true; + + newpos = ind + len; + + if (newpos >= current_max_ccl_tbl_size) { + current_max_ccl_tbl_size += MAX_CCL_TBL_SIZE_INCREMENT; + + ++num_reallocs; + + ccltbl = reallocate_Character_array (ccltbl, + current_max_ccl_tbl_size); + } + + ccllen[cclp] = len + 1; + ccltbl[newpos] = ch; +} + +/* dump_cclp - same thing as list_character_set, but for cclps. */ + +static void dump_cclp (FILE* file, int cclp) +{ + register int i; + + putc ('[', file); + + for (i = 0; i < csize; ++i) { + if (ccl_contains(cclp, i)){ + register int start_char = i; + + putc (' ', file); + + fputs (readable_form (i), file); + + while (++i < csize && ccl_contains(cclp,i)) ; + + if (i - 1 > start_char) + /* this was a run */ + fprintf (file, "-%s", + readable_form (i - 1)); + + putc (' ', file); + } + } + + putc (']', file); +} + + + +/* ccl_set_diff - create a new ccl as the set difference of the two given ccls. */ +int +ccl_set_diff (int a, int b) +{ + int d, ch; + + /* create new class */ + d = cclinit(); + + /* In order to handle negation, we spin through all possible chars, + * addding each char in a that is not in b. + * (This could be O(n^2), but n is small and bounded.) + */ + for ( ch = 0; ch < csize; ++ch ) + if (ccl_contains (a, ch) && !ccl_contains(b, ch)) + ccladd (d, ch); + + /* debug */ + if (0){ + fprintf(stderr, "ccl_set_diff ("); + fprintf(stderr, "\n "); + dump_cclp (stderr, a); + fprintf(stderr, "\n "); + dump_cclp (stderr, b); + fprintf(stderr, "\n "); + dump_cclp (stderr, d); + fprintf(stderr, "\n)\n"); + } + return d; +} + +/* ccl_set_union - create a new ccl as the set union of the two given ccls. */ +int +ccl_set_union (int a, int b) +{ + int d, i; + + /* create new class */ + d = cclinit(); + + /* Add all of a */ + for (i = 0; i < ccllen[a]; ++i) + ccladd (d, ccltbl[cclmap[a] + i]); + + /* Add all of b */ + for (i = 0; i < ccllen[b]; ++i) + ccladd (d, ccltbl[cclmap[b] + i]); + + /* debug */ + if (0){ + fprintf(stderr, "ccl_set_union (%d + %d = %d", a, b, d); + fprintf(stderr, "\n "); + dump_cclp (stderr, a); + fprintf(stderr, "\n "); + dump_cclp (stderr, b); + fprintf(stderr, "\n "); + dump_cclp (stderr, d); + fprintf(stderr, "\n)\n"); + } + return d; +} + + +/* cclinit - return an empty ccl */ + +int cclinit () +{ + if (++lastccl >= current_maxccls) { + current_maxccls += MAX_CCLS_INCREMENT; + + ++num_reallocs; + + cclmap = + reallocate_integer_array (cclmap, current_maxccls); + ccllen = + reallocate_integer_array (ccllen, current_maxccls); + cclng = reallocate_integer_array (cclng, current_maxccls); + ccl_has_nl = + reallocate_bool_array (ccl_has_nl, + current_maxccls); + } + + if (lastccl == 1) + /* we're making the first ccl */ + cclmap[lastccl] = 0; + + else + /* The new pointer is just past the end of the last ccl. + * Since the cclmap points to the \first/ character of a + * ccl, adding the length of the ccl to the cclmap pointer + * will produce a cursor to the first free space. + */ + cclmap[lastccl] = + cclmap[lastccl - 1] + ccllen[lastccl - 1]; + + ccllen[lastccl] = 0; + cclng[lastccl] = 0; /* ccl's start out life un-negated */ + ccl_has_nl[lastccl] = false; + + return lastccl; +} + + +/* cclnegate - negate the given ccl */ + +void cclnegate (cclp) + int cclp; +{ + cclng[cclp] = 1; + ccl_has_nl[cclp] = !ccl_has_nl[cclp]; +} + + +/* list_character_set - list the members of a set of characters in CCL form + * + * Writes to the given file a character-class representation of those + * characters present in the given CCL. A character is present if it + * has a non-zero value in the cset array. + */ + +void list_character_set (file, cset) + FILE *file; + int cset[]; +{ + register int i; + + putc ('[', file); + + for (i = 0; i < csize; ++i) { + if (cset[i]) { + register int start_char = i; + + putc (' ', file); + + fputs (readable_form (i), file); + + while (++i < csize && cset[i]) ; + + if (i - 1 > start_char) + /* this was a run */ + fprintf (file, "-%s", + readable_form (i - 1)); + + putc (' ', file); + } + } + + putc (']', file); +} + +/** Determines if the range [c1-c2] is unambiguous in a case-insensitive + * scanner. Specifically, if a lowercase or uppercase character, x, is in the + * range [c1-c2], then we require that UPPERCASE(x) and LOWERCASE(x) must also + * be in the range. If not, then this range is ambiguous, and the function + * returns false. For example, [@-_] spans [a-z] but not [A-Z]. Beware that + * [a-z] will be labeled ambiguous because it does not include [A-Z]. + * + * @param c1 the lower end of the range + * @param c2 the upper end of the range + * @return true if [c1-c2] is not ambiguous for a caseless scanner. + */ +bool range_covers_case (int c1, int c2) +{ + int i, o; + + for (i = c1; i <= c2; i++) { + if (has_case (i)) { + o = reverse_case (i); + if (o < c1 || c2 < o) + return false; + } + } + return true; +} + +/** Reverse the case of a character, if possible. + * @return c if case-reversal does not apply. + */ +int reverse_case (int c) +{ + return isupper (c) ? tolower (c) : (islower (c) ? toupper (c) : c); +} + +/** Return true if c is uppercase or lowercase. */ +bool has_case (int c) +{ + return (isupper (c) || islower (c)) ? true : false; +} Index: contrib/flex/configure.in =================================================================== --- contrib/flex/configure.in (revision 0) +++ contrib/flex/configure.in (working copy) @@ -0,0 +1,173 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +# This file is part of flex. + +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: + +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. + +# Neither the name of the University nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE. + +# autoconf requirements and initialization + +AC_PREREQ(2.59) +AC_INIT([the fast lexical analyser generator], [2.5.35], +[flex-help@lists.sourceforge.net], [flex]) +AC_CONFIG_SRCDIR([scan.l]) +AM_INIT_AUTOMAKE([gnits dist-bzip2]) +AC_CONFIG_HEADER([config.h:conf.in]) + +# checks for programs + +AM_GNU_GETTEXT([external]) +AM_GNU_GETTEXT_VERSION(0.12) + +AC_PROG_YACC +AM_PROG_LEX +AC_PROG_CC +AC_PROG_CXX +AC_PROG_LN_S +AC_PROG_RANLIB +AC_PROG_AWK +AC_PROG_INSTALL + +AC_PATH_PROG(BISON, bison,bison) +AC_PATH_PROG(HELP2MAN, help2man, help2man) + +# Check for a GNU m4 that supports --prefix-builtins + +AC_PATH_PROGS(M4, gm4 gnum4 m4, m4) + +if test x"$M4" != x; then + AC_MSG_CHECKING([for GNU m4]) + case `$M4 --help < /dev/null 2>&1` in + *prefix-builtins*) AC_MSG_RESULT(yes) ;; + *) AC_MSG_RESULT(no) ; + AC_MSG_ERROR([GNU M4 1.4 is required]) ;; + esac +else + AC_MSG_ERROR([GNU M4 1.4 is required]) ; +fi + +AC_DEFINE_UNQUOTED([M4], ["$M4"], [Define to the GNU M4 executable name.]) + +AC_PATH_PROG(INDENT, indent, indent) +# if INDENT is set to 'indent' then we didn't find indent +if test "$INDENT" != indent ; then + AC_MSG_CHECKING(if $INDENT is GNU indent) + if $INDENT --version 2>/dev/null | head -n 1|grep "GNU indent" > /dev/null ; then + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + AC_MSG_WARN($INDENT does not appear to be GNU indent.) + fi +else + AC_MSG_WARN(no indent program found: make indent target will not function) +fi + +# checks for libraries + +AC_FUNC_ALLOCA +AC_HEADER_STDC +AC_HEADER_SYS_WAIT +AC_CHECK_HEADERS([inttypes.h libintl.h limits.h locale.h malloc.h netinet/in.h stddef.h stdlib.h string.h strings.h unistd.h]) +AC_CHECK_LIB(m, log10) + +# The test test-pthread uses libpthread, so we check for it here, but +# all we need is the preprocessor symbol defined since we don't need +# LIBS to include libpthread for building flex. + +AC_CHECK_LIB(pthread, pthread_mutex_lock, +AC_DEFINE([HAVE_LIBPTHREAD], 1, [pthread library] ), +AC_DEFINE([HAVE_LIBPTHREAD], 0, [pthread library] ) +) +AC_CHECK_HEADERS([pthread.h]) + +# Checks for typedefs, structures, and compiler characteristics. + +AC_HEADER_STDBOOL +AC_C_CONST +AC_TYPE_SIZE_T + +# Checks for library functions. + +AC_FUNC_FORK +AC_FUNC_MALLOC +AC_FUNC_REALLOC +AC_CHECK_FUNCS([dup2 isascii memset pow regcomp setlocale strchr strtol]) + +AC_CONFIG_FILES( +Makefile +doc/Makefile +examples/Makefile +examples/fastwc/Makefile +examples/manual/Makefile +m4/Makefile +po/Makefile.in +tools/Makefile +tests/Makefile +tests/TEMPLATE/Makefile +tests/test-array-nr/Makefile +tests/test-array-r/Makefile +tests/test-basic-nr/Makefile +tests/test-basic-r/Makefile +tests/test-bison-yylloc/Makefile +tests/test-bison-yylval/Makefile +tests/test-c-cpp-nr/Makefile +tests/test-c-cpp-r/Makefile +tests/test-header-nr/Makefile +tests/test-header-r/Makefile +tests/test-include-by-buffer/Makefile +tests/test-include-by-push/Makefile +tests/test-include-by-reentrant/Makefile +tests/test-multiple-scanners-nr/Makefile +tests/test-multiple-scanners-r/Makefile +tests/test-noansi-nr/Makefile +tests/test-noansi-r/Makefile +tests/test-prefix-nr/Makefile +tests/test-prefix-r/Makefile +tests/test-pthread/Makefile +tests/test-string-nr/Makefile +tests/test-string-r/Makefile +tests/test-yyextra/Makefile +tests/test-alloc-extra/Makefile +tests/test-lineno-nr/Makefile +tests/test-lineno-r/Makefile +tests/test-linedir-r/Makefile +tests/test-debug-r/Makefile +tests/test-debug-nr/Makefile +tests/test-mem-nr/Makefile +tests/test-mem-r/Makefile +tests/test-posix/Makefile +tests/test-posixly-correct/Makefile +tests/test-table-opts/Makefile +tests/test-c++-basic/Makefile +tests/test-bison-nr/Makefile +tests/test-reject/Makefile +tests/test-c++-multiple-scanners/Makefile +tests/test-top/Makefile +tests/test-rescan-nr/Makefile +tests/test-rescan-r/Makefile +tests/test-quotes/Makefile +tests/test-ccl/Makefile +tests/test-extended/Makefile +tests/test-c++-yywrap/Makefile +tests/test-concatenated-options/Makefile +dnl --new-test-here-- This line is processed by tests/create-test. +) + +AC_OUTPUT Index: contrib/flex/ChangeLog =================================================================== --- contrib/flex/ChangeLog (revision 0) +++ contrib/flex/ChangeLog (working copy) @@ -0,0 +1,7439 @@ +2008-02-26 15:36 Will Estes + + * NEWS: add date of release + +2008-02-15 07:37 Will Estes + + * NEWS, parse.y: fix bug that prevented comments from working + properly + +2008-02-12 07:57 Will Estes + + * po/de.po: new de translation + +2008-02-10 06:08 Will Estes + + * NEWS, po/vi.po: new vi translation + +2008-02-09 19:22 Will Estes + + * NEWS, po/nl.po: new nl translation + +2008-02-09 14:59 Will Estes + + * NEWS, po/pl.po: new pl translation + +2008-02-09 14:19 Will Estes + + * NEWS, po/de.po, po/pt_BR.po: new de, pt_br translations + +2008-02-09 13:54 Will Estes + + * NEWS, flex.skl: generate headers for all functions (resolves bug + #1628314) + +2008-02-09 10:49 Will Estes + + * NEWS, flex.skl: change yy_size_t to be size_t (resolves bug + #1849812) + +2008-02-09 10:46 Will Estes + + * configure.in: start work on version 2.5.35 + +2007-12-12 16:00 Will Estes + + * NEWS, configure.in: revert NEWS and configure.in to version + 2.5.34 + +2007-09-12 11:28 Will Estes + + * NEWS, configure.in: update version number to 2.5.35 + +2007-09-10 02:17 Aaron Stone + + * tests/test-alloc-extra/scanner.l: Use %option extra-type. + +2007-09-10 02:16 Aaron Stone + + * NEWS, flex.skl, flexdef.h, main.c, parse.y, scan.l, + doc/flex.texi: Introduce %option extra-type="your_type *" (resolves + bug #1744505). + +2007-08-15 08:28 Will Estes + + * po/nl.po: new nl translations from the translation project + +2007-06-28 16:28 Will Estes + + * NEWS: change release date + +2007-06-27 21:59 Will Estes + + * flex.skl: adjustment for prefix classes; patch submitted by Petr + Machata + +2007-06-27 21:53 Will Estes + + * NEWS: NEWS item for yy_init_extra + +2007-06-12 12:33 Aaron Stone + + * doc/flex.texi: Docs and example for yylex_init_extra. + +2007-05-31 20:22 Will Estes + + * tests/test-alloc-extra/.cvsignore: ignore OUTPUT file in + test-alloc-extra + +2007-05-31 20:21 Will Estes + + * tests/descriptions: add description of concatenated options test + +2007-05-31 16:20 Will Estes + + * tests/test-alloc-extra/.cvsignore: add missing .cvsignore to + test-alloc-extra + +2007-05-31 02:21 Aaron Stone + + * configure.in, flex.skl, gen.c, main.c: Changes to resolve SF bugs + 1568325 and 1563589. + +2007-05-31 02:09 Aaron Stone + + * tests/: Makefile.am, descriptions, test-alloc-extra/Makefile.am, + test-alloc-extra/scanner.l, test-alloc-extra/test.input: Adding + test cases for yylex_init_extra. + +2007-05-12 11:27 Will Estes + + * configure.in, tests/test-pthread/scanner.l: fixes to test-pthread + +2007-05-12 09:13 Will Estes + + * NEWS: NEWS item for concatenated options + +2007-05-12 09:13 Will Estes + + * configure.in, tests/Makefile.am, + tests/test-concatenated-options/.cvsignore, + tests/test-concatenated-options/Makefile.am: unit test to verify + concatenated options parsing + +2007-05-12 09:11 Will Estes + + * scanopt.c: parse multiple short concatenated options; patch + submitted by Petr Machata + + * autogen.sh: remove --force option from autogen.sh; much faster + without it + +2007-05-11 14:35 Will Estes + + * NEWS, configure.in: version 2.5.34 + +2007-05-08 00:23 Aaron Stone + + * NEWS, flex.skl: Better checking after yyalloc/yyrealloc (resolves + bug #1595967) + +2007-05-01 08:10 Will Estes + + * doc/flex.texi: change title of manual to 'Lexical Analysis with + Flex' + +2007-04-25 14:16 Will Estes + + * flex.skl: c++ memory leak plug + +2007-04-23 09:29 Will Estes + + * flex.skl: roll back c++ memory patch as it causes the test suite + no end of grief + +2007-04-23 08:42 Will Estes + + * flex.skl: fix function definitions for non-ANSI environments + (from Manoj Srivastava from Debian patchset) + +2007-04-23 08:37 Will Estes + + * flex.skl: fix c++ memory leak (from Manoj Srivastava from Debian + patchset) + +2007-04-23 06:59 Will Estes + + * flex.skl: fix parameter name in comment (patch from Manoj + Srivastava from the debian patchset + +2007-04-23 06:57 Will Estes + + * flex.skl: add a size_t cast (patch from Manoj Srivastava from the + debian patchset + +2007-04-16 17:06 Will Estes + + * tests/: test-extended/Makefile.am, test-quotes/Makefile.am: + cleanups to handle VPATH builds better; passifies make distcheck + +2007-04-16 16:42 Will Estes + + * doc/flex.texi: drop using the \ in \ escaping as it throws pdf + generation for a loop + +2007-04-14 08:33 Will Estes + + * .cvsignore: add compile and *.tar.bz2 to .cvsignore + +2007-04-14 08:27 Will Estes + + * main.c: add call to setlocale for ctype as per debian patchset + +2007-04-14 08:25 Will Estes + + * Makefile.am, NEWS: provide for a PIC version of libfl.a for + shared libraries using flex scanners + +2007-04-13 13:24 Will Estes + + * FlexLexer.h: annotate endifs since they're a bit far from their + opening #if statements + +2007-04-13 12:55 Will Estes + + * flexdef.h, parse.y: refactor and slightly redo alloca testing, + resolves bug #1675899 + +2007-04-13 12:50 Will Estes + + * configure.in: overhaul configure.in: use octathorps for comments + so they're passed through m4 processing; better bracketing of m4 + arguments; retool checks as per suggestions from autoscan(1) + +2007-04-13 12:43 Will Estes + + * flex.skl: better handling of class that use the prefix + functionality; from submitted patch + +2007-04-13 12:32 Will Estes + + * flex.skl: fix skeleton for reentrant scanners + +2007-04-12 21:50 Will Estes + + * Makefile.am: remove homegrown tags target; automake does that for + us + +2007-04-12 15:12 Will Estes + + * FlexLexer.h: declare some const where missing in c++ header file + +2007-04-12 15:12 Will Estes + + * flex.skl: fix skeleton for reentrant scanners, resolves bug + #1694318 + +2007-04-10 15:20 Will Estes + + * doc/flex.texi: corrections to the manual as per suggestions from + flex-help@ + +2007-04-03 15:16 Will Estes + + * doc/flex.texi: include author names in online versions of the + manual + +2007-04-03 15:07 Will Estes + + * COPYING: update copyright notice + +2007-04-03 14:54 Will Estes + + * AUTHORS: rearrange and update AUTHORS + +2007-03-29 11:45 Will Estes + + * NEWS: note sf feature request 1658379 in NEWS + +2007-03-29 11:36 Will Estes + + * tools/cvsauthors: add sodabrew to cvsauthors file + +2007-03-29 11:25 Aaron Stone + + * flex.skl: + SourceForge feature request #1658379: Expose YY_BUF_SIZE in the + header file. + +2007-03-07 16:50 Will Estes + + * NEWS, filter.c, flex.skl: apply patches submitted by sodabrew + +2007-03-07 16:20 Will Estes + + * README.cvs: more changes describing building flex from cvs + +2007-03-07 16:16 Will Estes + + * Makefile.am, README.cvs, README.cvs-snapshot: rename + README.cvs-snapshot to README.cvs + +2007-03-07 16:14 Will Estes + + * README.cvs-snapshot: update to explain where flex cvs lives + +2007-03-07 15:45 Will Estes + + * README, doc/flex.texi: correct how to submit bugs + +2007-02-16 10:38 Will Estes + + * NEWS: clarify NEWS item re man page and pdf manual + +2007-02-14 12:03 Will Estes + + * po/Makevars: update bug address to point to flex-devel instead of + lex-help + +2007-02-13 12:54 Will Estes + + * configure.in, doc/Makefile.am: make better use of AC_INIT; clean + up, simplify and make more robust the generation of the man page + +2007-02-13 12:08 Will Estes + + * configure.in: remove option check-news from call to + AM_INIT_AUTOMAKE as gnits implies check-news + +2007-02-13 10:07 Will Estes + + * Makefile.am, configure.in: move automake options from Makefile.am + to configure.in + +2007-02-13 10:04 Will Estes + + * autogen.sh: restore --install option to autogen.sh since --force + does not imply --install + +2007-02-13 10:04 Will Estes + + * tools/cvsauthors: add john43 to cvsauthors file + +2007-02-13 09:50 Will Estes + + * autogen.sh: call autoreconf with --force instead of --install + +2007-02-13 09:48 Will Estes + + * doc/.cvsignore: remove texinfo.tex from cvs tree + +2007-02-12 20:15 Will Estes + + * NEWS: updates to NEWS file to reflect recent changes + +2007-02-12 20:14 Will Estes + + * doc/Makefile.am: add flex.pdf to EXTRA_DIST + +2007-02-12 19:45 Will Estes + + * configure.in: remove flex.spec + +2007-02-12 19:44 Will Estes + + * Makefile.am: remove maintainercleanfiles + +2007-02-01 15:56 Will Estes + + * doc/Makefile.am: more changes to build system to distribute man + page + +2007-02-01 12:10 Will Estes + + * doc/Makefile.am: add flex man page to distribution + +2007-02-01 12:09 Will Estes + + * .cvsignore, flex.spec.in: remove flex spec file + +2006-11-17 10:14 Will Estes + + * tests/test-table-opts/Makefile.am: make test target depend on + test groupings, which in turn depend on building executables; + cygwin portability fix + +2006-11-10 16:00 Will Estes + + * tests/create-test: change create-test script to edit files in + place + +2006-11-09 15:14 Will Estes + + * tests/: test-array-nr/Makefile.am, test-array-r/Makefile.am, + test-basic-nr/Makefile.am, test-basic-r/Makefile.am, + test-bison-nr/Makefile.am, test-bison-yylloc/Makefile.am, + test-bison-yylval/Makefile.am, test-c++-basic/Makefile.am, + test-c++-multiple-scanners/Makefile.am, + test-c++-yywrap/Makefile.am, test-c-cpp-nr/Makefile.am, + test-c-cpp-r/Makefile.am, test-ccl/Makefile.am, + test-debug-nr/Makefile.am, test-debug-r/Makefile.am, + test-extended/Makefile.am, test-header-nr/Makefile.am, + test-header-r/Makefile.am, test-include-by-buffer/Makefile.am, + test-include-by-push/Makefile.am, + test-include-by-reentrant/Makefile.am, test-linedir-r/Makefile.am, + test-lineno-nr/Makefile.am, test-lineno-r/Makefile.am, + test-mem-nr/Makefile.am, test-mem-r/Makefile.am, + test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-noansi-nr/Makefile.am, + test-noansi-r/Makefile.am, test-posix/Makefile.am, + test-posixly-correct/Makefile.am, test-prefix-nr/Makefile.am, + test-prefix-r/Makefile.am, test-pthread/Makefile.am, + test-quotes/Makefile.am, test-reject/Makefile.am, + test-rescan-nr/Makefile.am, test-rescan-r/Makefile.am, + test-string-nr/Makefile.am, test-string-r/Makefile.am, + test-top/Makefile.am, test-yyextra/Makefile.am: change CLEANFILES + to include instead of just the testname for the executable + +2006-11-09 09:44 Will Estes + + * doc/flex.texi: fix typos in manual; resolves bug #1592857 + +2006-11-09 09:39 Will Estes + + * tests/TEMPLATE/Makefile.am: change test template to remove test + executable when that executable has an extension, e.g. under Cygwin + +2006-11-08 10:28 Will Estes + + * tests/Makefile.am: test names weren't displaying in test + success/failure messages (from #1591672 + +2006-10-30 15:28 Will Estes + + * doc/.cvsignore: add flex.html to .cvsignore in doc directory + +2006-10-22 18:42 Will Estes + + * NEWS: update NEWS file for the work that millaway did + +2006-10-22 18:17 Will Estes + + * FlexLexer.h, NEWS, main.c, + tests/test-c++-multiple-scanners/scanner-2.l: make yywrap work with + c++ scanners as per sf bug report + +2006-10-20 15:16 Will Estes + + * flex.skl, tests/test-c++-multiple-scanners/main.cpp, + tests/test-c-cpp-nr/scanner.l, NEWS: memory leak issues in c++ + scanner + +2006-10-20 13:10 Will Estes + + * configure.in, tests/Makefile.am, tests/descriptions, + tests/test-c++-yywrap/.cvsignore, + tests/test-c++-yywrap/Makefile.am, tests/test-c++-yywrap/scanner.l, + tests/test-c++-yywrap/test.input, NEWS: add unit test for c++ with + yywrap + +2006-10-20 12:08 Will Estes + + * NEWS, tests/test-c++-basic/Makefile.am, + tests/test-linedir-r/Makefile.am: use configure-provided awk + variable for portability; add loadlibes variable to c++ test + +2006-10-17 09:41 Will Estes + + * doc/flex.texi: add noyywrap option to example; use whitespace to + clarify example + +2006-08-02 10:43 Will Estes + + * NEWS, po/ca.po, po/vi.po: new translations + +2006-04-11 12:54 John Millaway + + * tables.c: Casted away signedness to appease -Werror freaks. + +2006-03-28 15:47 John Millaway + + * ccl.c, flexdef.h, parse.y, scan.l, sym.c, doc/flex.texi, + tests/test-ccl/scanner.l, tests/test-ccl/test.input: Added ccl + union operator. Added test in test suite for ccl union operator. + Documented ccl union operator. Removed crufty ccl cache to prevent + parser problems. + +2006-03-28 12:56 John Millaway + + * scan.l, doc/flex.texi, tests/test-extended/scanner.l, + tests/test-extended/test.input: Extended syntax excluded for + lex/posix compat mode. Comments discarded inside (?x:) patterns. + Added test in test suite for comments in extended patterns. + Documented syntax additions. + +2006-03-27 17:48 John Millaway + + * scan.l, tests/test-ccl/scanner.l, tests/test-ccl/test.input: + Implemented (?x:) syntax to allow whitespace in patterns. Added + test for (?x:) syntax in test suite. + +2006-03-27 17:04 John Millaway + + * parse.y, tests/test-ccl/scanner.l, tests/test-ccl/test.input: + Implemented dot-all syntax. Added test for dot-all syntax in test + suite. + +2006-03-27 15:59 John Millaway + + * dfa.c, flexdef.h, gen.c, main.c, parse.y, scan.l, scanflags.c, + doc/flex.texi, tests/test-ccl/scanner.l, tests/test-ccl/test.input: + Removed global variable caseins. Added scanner stack flags for + case-insensitivity. Moved case-folding code from DFA-generation to + parse time read-macros. Added localized case-sensitivity syntax + from Perl. Added test for new syntax in test suite. Documented + new syntax. + +2006-03-27 14:00 John Millaway + + * Makefile.am, configure.in, flexdef.h, scanflags.c: Added + configure check for assert.h. Added scanner flags stack. + +2006-03-25 14:03 John Millaway + + * configure.in, scan.l, doc/flex.texi, tests/Makefile.am, + tests/descriptions, tests/test-extended/.cvsignore, + tests/test-extended/Makefile.am, tests/test-extended/scanner.l, + tests/test-extended/test.input: Added extended, perl-compatible + comment syntax. Added test for extended comment syntax. + Documented extended comment syntax. + +2006-03-25 12:57 John Millaway + + * parse.y, doc/flex.texi: Changed explicit 'A'-'Z' to isupper(), + where correct to do so. Documentation. + +2006-03-24 17:33 John Millaway + + * doc/flex.texi: Documentation. + +2006-03-24 13:57 John Millaway + + * doc/flex.texi: Added appendix of patterns to manual. + +2006-03-23 18:34 John Millaway + + * doc/flex.texi: [no log message] + +2006-03-22 15:06 John Millaway + + * doc/flex.texi: Documentation. + +2006-03-22 15:03 John Millaway + + * doc/flex.texi: Documented set difference operator {-}. + +2006-03-22 14:06 John Millaway + + * ccl.c, flexdef.h, parse.y, scan.l, tests/test-ccl/scanner.l, + tests/test-ccl/test.input: Added set difference operator {-} for + character classes. + +2006-03-22 11:04 John Millaway + + * configure.in, parse.y, scan.l, doc/flex.texi, tests/Makefile.am, + tests/descriptions, tests/test-ccl/.cvsignore, + tests/test-ccl/Makefile.am, tests/test-ccl/scanner.l, + tests/test-ccl/test.input: Added negated character class + expressions. Documented negated character class expressions. + Added regression test for negated character class expressions. + +2006-03-22 07:49 John Millaway + + * buf.c, filter.c, gen.c, main.c, misc.c, nfa.c, parse.y, regex.c: + Replaced sprintf with snprintf everywhere. + +2006-03-21 19:15 John Millaway + + * Makefile.am: Removed includedir from AM_CPPFLAGS #1439351. + +2006-03-21 18:49 John Millaway + + * configure.in, tests/Makefile.am, tests/descriptions, + tests/test-quotes/.cvsignore, tests/test-quotes/Makefile.am, + tests/test-quotes/scanner.l, tests/test-quotes/test.input: Added + test to verify user code is unmangled. + +2006-03-21 16:39 John Millaway + + * flexdef.h, misc.c, scan.l: Fixed escape in actions. + +2006-03-21 16:22 John Millaway + + * filter.c, flexdef.h, main.c, scan.l: Reverted previous input + filter changes. Added noop macro to scanner output. Modified + scan.l to escape m4 quotes found in user code. + +2006-03-21 16:18 John Millaway + + * tests/test-table-opts/: Makefile.am, scanner.l: Removed m4 from + test-table-opts + +2006-03-21 15:58 John Millaway + + * tests/test-reject/: Makefile.am, scanner.l: Removed m4 from + test-reject + +2006-03-21 13:23 John Millaway + + * filter.c, flexdef.h, main.c, scan.l: Moved set_input_file to + different file. + +2006-03-20 21:17 John Millaway + + * flex.skl, flexdef.h, flexint.h, misc.c: Relaxed tests for + __STDC__ and __STDC_VERSION__ to cope with bugs in GCC and Sun cc. + +2006-03-19 20:50 John Millaway + + * filter.c: Documented filter chain. Removed fdopen. Added no-op + fseek. + +2006-03-13 16:21 John Millaway + + * gen.c: Fixed another -Wall report. + +2006-03-10 09:59 Will Estes + + * NEWS, po/vi.po: new vi translation + +2006-03-09 08:45 Will Estes + + * NEWS, po/ga.po, po/nl.po: new nl, ga translations + +2006-02-20 20:54 Will Estes + + * m4/Makefile.am: add po.m4 to extra_dist in m4/ so it gets picked + up by distributions + +2006-02-20 20:42 Will Estes + + * m4/Makefile.am: add nls.m4 to extra_dist in m4/ so it will get + picked up in distribution tarballs + +2006-02-20 20:10 Will Estes + + * configure.in: remove website directory from configure.in + +2006-02-20 14:22 Will Estes + + * NEWS, configure.in: version 2.5.33 marks in NEWS and configure.in + +2006-02-20 13:21 Will Estes + + * configure.in: change email address in configure.in to point to + flex-help@sourceforge.net + +2006-02-20 12:30 John Millaway + + * doc/flex.texi: Documentation. + +2006-02-20 12:17 John Millaway + + * BUGS: Appended to BUGS file. + +2006-02-18 14:09 Will Estes + + * Makefile.am: remove website directory (since it now has its own + module in the flex project + +2006-02-16 17:20 John Millaway + + * flex.skl, doc/flex.texi: Fixed buffer overflow in reject state + buffer. Corrected documentation on the state buffer. + +2006-02-16 10:02 John Millaway + + * flex.skl: Reverted num_read from size_t back to int. + +2006-02-15 18:58 John Millaway + + * Makefile.am, configure.in: Removed reference to RoadMap in + Makefile.am. Added website directory. + +2006-02-15 16:08 Will Estes + + * README, RoadMap: remove RoadMap and reference to it in README + +2006-02-15 13:35 John Millaway + + * BUGS, README, doc/flex.texi, doc/flex.xml: Eliminated references + to lex.sf.net. + +2006-02-15 13:31 John Millaway + + * BUGS, flex.skl: Transfered bugs list from lex.sf.net to BUGS + file. + +2006-02-15 13:11 John Millaway + + * tests/: test-rescan-nr/.cvsignore, test-rescan-nr/Makefile.am, + test-rescan-nr/scanner.l, test-rescan-nr/test.input, + test-rescan-r/.cvsignore, test-rescan-r/Makefile.am, + test-rescan-r/scanner.l, test-rescan-r/test.input: Recommit of last + commit -- broken pipe. + +2006-02-15 13:06 John Millaway + + * configure.in, flex.skl, tests/Makefile.am, tests/descriptions: + yy_lex_destroy calls yy_init_globals to reset everything for next + call to yylex. Added two new tests for reusing scanners. + +2006-02-14 15:28 John Millaway + + * flex.spec.in: Patched rpm spec file. + +2006-02-14 15:23 John Millaway + + * configure.in, flexint.h: Added C99 macro for inttypes, just to be + conformant. + +2006-02-14 14:38 John Millaway + + * flexdef.h, nfa.c, parse.y: Changed symbol INFINITE to fix + conflict with C math symbol. + +2006-02-14 14:28 John Millaway + + * scan.l: Omitting parens for named rules in trailing context. + +2006-02-14 13:55 John Millaway + + * configure.in, main.c, po/ca.po, po/da.po, po/de.po, po/es.po, + po/fr.po, po/ga.po, po/ko.po, po/nl.po, po/pl.po, po/pt_BR.po, + po/ro.po, po/ru.po, po/sv.po, po/tr.po, po/vi.po, po/zh_CN.po, + tests/test-mem-nr/scanner.l, tests/test-mem-r/scanner.l: Added + check for locale.h and libintl.h in configure script. + +2006-02-14 13:36 John Millaway + + * flex.skl: Removed unused local vars. + +2006-02-14 13:25 John Millaway + + * flex.skl: Removed certain offending #undefs. + +2006-02-14 13:07 John Millaway + + * flexint.h: Removed logical and from preprocessor statement. + +2006-02-14 06:40 Will Estes + + * po/: nl.po, nl.po.1: remove eroneously named nl.po.1; update + nl.po + +2006-02-14 01:38 John Millaway + + * dfa.c: [no log message] + +2006-02-14 00:27 John Millaway + + * flex.skl: Included for serialized tables. + +2006-02-14 00:22 John Millaway + + * configure.in: Minor patch to call to head in configure script. + +2006-02-14 00:12 John Millaway + + * doc/flex.texi: Documentation patch. + +2006-02-13 22:32 John Millaway + + * filter.c, gen.c, libyywrap.c, main.c: Patch for full file system + failure. + +2006-02-13 16:45 John Millaway + + * doc/flex.texi: Documentation. + +2006-02-13 16:18 John Millaway + + * main.c: Fixed double-fclose when input file is empty. + +2006-02-10 18:17 Will Estes + + * po/: ca.po, da.po, de.po, es.po, fr.po, ga.po, ko.po, nl.po.1, + pl.po, pt_BR.po, ro.po, ru.po, sv.po, tr.po, vi.po, zh_CN.po: + newtranslations + +2005-12-21 19:24 John Millaway + + * buf.c, main.c: Improvement request 1069716 log vs. log10 + +2005-12-21 19:16 John Millaway + + * flex.skl: Fixed bug 1257093 yy_init_globals in header file + +2005-04-14 16:45 Will Estes + + * po/nl.po: new nl translation + +2005-04-07 08:49 Will Estes + + * NEWS, po/LINGUAS, po/nl.po, po/vi.po: new nl and vi translations + +2004-07-20 16:32 Will Estes + + * filter.c: correct improper stdin assignment + +2004-05-22 18:42 Will Estes + + * po/tr.po, NEWS: new tr translation + +2004-05-11 20:44 Will Estes + + * .indent.pro, .cvsignore: .cvsignore and .indent.pro got missed + in the import to sourceforge; replace them + +2004-05-11 09:28 Will Estes + + * po/fr.po: new fr translation + +2004-05-03 10:52 Will Estes + + * po/LINGUAS: polish is pl, not po + +2004-03-22 08:10 Will Estes + + * po/sv.po: yet another sweedish update + +2004-03-19 09:27 Will Estes + + * po/sv.po, NEWS: new sv translation + +2003-12-10 20:43 John Millaway + + * configure.in, filter.c, main.c: Configure checks for GNU m4. + Environment variable M4 overrides built-in m4 path. Generated m4 + does a late check for GNU m4. + +2003-12-08 21:17 John Millaway + + * doc/flex.texi: added 3 faqs + +2003-11-24 08:12 Will Estes + + * po/ro.po: new ro translation + +2003-11-07 13:38 Will Estes + + * NEWS, po/fr.po: new french translation + +2003-11-07 08:57 Will Estes + + * NEWS, po/ca.po: new catalan translation from the translation + project + +2003-11-07 08:50 Will Estes + + * NEWS, po/LINGUAS, po/ga.po, po/pl.po: new polish translation; + updated irish translation from translation project + +2003-10-10 08:47 Will Estes + + * NEWS, po/LINGUAS, po/ga.po: new Irish translation + +2003-08-25 07:57 Will Estes + + * NEWS, po/LINGUAS, po/ro.po: add romanian translation + +2003-07-16 11:05 Will Estes + + * flex.skl: flex_*int* type fixes + +2003-07-16 10:45 Will Estes + + * tools/cvsauthors: change wlestes email address + +2003-07-16 10:43 Will Estes + + * flex.skl: undef yytext_ptr has some bad side effects + +2003-07-07 13:32 John Millaway + + * doc/flex.texi: Documented m4 incompatibility with lex. + +2003-05-21 13:57 Will Estes + + * NEWS: upgrade to gettext 0.12 + +2003-05-20 16:25 Will Estes + + * flex.skl, gen.c: patches from manoj via sourceforge + +2003-05-20 16:09 Will Estes + + * configure.in, po/.cvsignore, po/Makevars: upgrade gettext to + 0.12; this allows running make pdf and make ps to be successful + +2003-05-20 13:41 Will Estes + + * doc/.cvsignore: cvs should ignore flex.pdf and flex.ps + +2003-04-25 15:45 John Millaway + + * TODO: Added yylineno bugs to TODO list. + +2003-04-02 20:01 John Millaway + + * doc/flex.xml: Docbook. + +2003-04-02 19:22 John Millaway + + * doc/flex.xml: xml now validates. + +2003-04-02 18:20 John Millaway + + * doc/flex.xml: Began conversion to DocBook. + +2003-04-01 11:17 Will Estes + + * NEWS, configure.in: version 2.5.31 + +2003-04-01 11:14 Will Estes + + * NEWS: remove --enable-maintainer-mode configure option + +2003-04-01 11:08 Will Estes + + * configure.in: remove AM_MAINTAINER_MODE + +2003-03-31 20:51 John Millaway + + * flex.skl, flexdef.h, main.c, misc.c, scan.l: Renamed some + internal variables. + +2003-03-31 08:21 Will Estes + + * NEWS: yylineno is now per-buffer in reentrant scanners + +2003-03-30 21:04 John Millaway + + * TODO: Added TODO item. + +2003-03-30 14:58 John Millaway + + * flex.skl, gen.c: yylineno is per-buffer in the reentrant scanner. + support for yycolumn exists, but is not yet developed. + +2003-03-28 16:08 John Millaway + + * flex.skl: Minor documentation. + +2003-03-28 09:17 Will Estes + + * NEWS: added %top directive + +2003-03-27 13:02 John Millaway + + * buf.c, configure.in, flexdef.h, main.c, scan.l, doc/flex.texi, + tests/Makefile.am, tests/descriptions, tests/test-top/.cvsignore, + tests/test-top/Makefile.am, tests/test-top/main.c, + tests/test-top/scanner.l, tests/test-top/test.input: Added %top + block syntax. Added test for %top block. Documented %top block. + +2003-03-26 23:02 John Millaway + + * TODO, doc/flex.texi: Documented the m4 dependency. + +2003-03-26 16:43 Will Estes + + * configure.in, flexdef.h: check for sys/wait.h since we use + wait(2) + +2003-03-26 16:35 Will Estes + + * flexdef.h: reorder include directives so as to catch system + integer types before flex defined values for same + +2003-03-26 14:19 Will Estes + + * TODO: assign tasks due before major release can happen; remove + --enable-maintainer-mode entry + +2003-03-26 14:15 Will Estes + + * Makefile.am: only rebuild the ChangeLog if we're inside a cvs + working directory + +2003-03-26 14:05 Will Estes + + * configure.in, tools/.cvsignore, tools/Makefile.am: add tools/ + subdirectory to distribution + +2003-03-26 14:05 Will Estes + + * Makefile.am: remove maintainer_mode conditional; add filter.c and + regex.c to indentfiles; reformat and sort indentfiles so it's + easier to add files in the future + +2003-03-26 14:04 Will Estes + + * doc/Makefile.am: clean up flex.texi processing leftovers with + cleanfiles + +2003-03-26 13:29 Will Estes + + * tests/test-linedir-r/Makefile.am: an awk script wasn't included + in the distribution + +2003-03-26 11:52 John Millaway + + * TODO, configure.in, tests/Makefile.am, tests/descriptions, + tests/test-include-by-push/.cvsignore, + tests/test-include-by-push/Makefile.am, + tests/test-include-by-push/scanner.l, + tests/test-include-by-push/test-1.input, + tests/test-include-by-push/test-2.input, + tests/test-include-by-push/test-3.input: Added test for + yypush_buffer_state and yypop_buffer_state. + +2003-03-25 22:27 John Millaway + + * TODO: Removed items from TODO list. + +2003-03-25 22:26 John Millaway + + * configure.in, tests/Makefile.am, tests/descriptions, + tests/test-linedir-r/.cvsignore, tests/test-linedir-r/Makefile.am, + tests/test-linedir-r/check-lines.awk, tests/test-linedir-r/main.c, + tests/test-linedir-r/scanner.l, tests/test-linedir-r/test.input: + Added test for #line directives. + +2003-03-25 20:37 John Millaway + + * configure.in, tests/Makefile.am, tests/test-noansi-nr/.cvsignore, + tests/test-noansi-nr/Makefile.am, tests/test-noansi-nr/scanner.l, + tests/test-noansi-nr/test.input, tests/test-noansi-r/.cvsignore, + tests/test-noansi-r/Makefile.am, tests/test-noansi-r/scanner.l, + tests/test-noansi-r/test.input: Added test for noansi (traditional) + options. Reordered the tests so the basic ones are first. + +2003-03-25 15:51 Will Estes + + * TODO, doc/Makefile.am: remove maintainer-mode conditional around + rebuilding of manpage + +2003-03-25 15:45 Will Estes + + * README: mention doc/ for user documentation + +2003-03-25 15:45 Will Estes + + * TODO: rework distribution items + +2003-03-25 15:45 Will Estes + + * NEWS: mention m4 processing + +2003-03-25 15:44 Will Estes + + * tests/README: update instructions for running test suite + +2003-03-25 11:39 Will Estes + + * FlexLexer.h, Makefile.am, TODO, buf.c, configure.in, filter.c, + flex.skl, flexdef.h, gen.c, main.c, misc.c, options.c, options.h, + regex.c, scan.l, sym.c, doc/flex.texi, + tests/test-bison-nr/scanner.l, tests/test-bison-yylloc/scanner.l, + tests/test-reject/scanner.l, tests/test-table-opts/scanner.l: merge + millaway's m4 branch work + +2003-03-20 15:10 Will Estes + + * TODO: we want to move the contents of to.do/Wishlist to top level + TODO + +2003-03-20 13:09 John Millaway + + * to.do/Wish-List: Assessment of every item in Wish-List. + +2003-03-17 04:57 John Millaway + + * regex.c: file regex.c was initially added on branch m4. + +2003-03-10 15:00 John Millaway + + * filter.c: file filter.c was initially added on branch m4. + +2003-03-05 14:52 Will Estes + + * texinfo.tex, doc/.cvsignore: move texinfo.tex to doc/ + +2003-03-05 14:37 Will Estes + + * TODO: update TODO + +2003-03-05 14:37 Will Estes + + * NEWS, configure.in: version 2.5.29 + +2003-03-04 18:43 John Millaway + + * FlexLexer.h, flex.skl: Added growable buffer stack to C++ scanner + as well. yyensure_buffer_stack is now static. + +2003-03-01 20:45 John Millaway + + * flex.skl, misc.c: Removed awkward %push %pop syntax from + skeleton. + +2003-03-01 19:34 John Millaway + + * flex.skl: Renamed YY_CURRENT_BUFFER_FAST to + YY_CURRENT_BUFFER_LVALUE to better reflect its purpose. + +2003-02-28 15:19 John Millaway + + * NEWS: made entry on input buffer stacks. + +2003-02-28 09:23 Will Estes + + * Makefile.am, doc/Makefile.am: build on . in top level first; this + will simplify calling help2man + +2003-02-28 06:27 John Millaway + + * TODO, flex.skl, gen.c, main.c, doc/flex.texi: Removed + yy_current_buffer from the planet. Input buffer states are now in + an internal unbounded stack. Added new internal function, + yyensure_buffer_stack. Added new API function, + yypush_buffer_state. Added new API function, yypop_buffer_state. + Documented the new API calls in the manual. Macro YY_BUFFER_STATE + now refers to top of stack. This revision breaks the C++ scanner + (again.) + +2003-02-28 04:02 John Millaway + + * main.c: Removed some symbols from the undef list. They are needed + for multiple headers to coexist. + +2003-02-27 10:37 Will Estes + + * Makefile.am, NEWS, configure.in, flex.texi, doc/.cvsignore, + doc/Makefile.am, doc/flex.texi: move flex.texi and flex.1 to new + doc/ subdirectory + +2003-02-27 09:44 Will Estes + + * NEWS: namespace cleanups + +2003-02-26 18:23 John Millaway + + * main.c: Added a few macros to the undef list. + +2003-02-26 18:17 John Millaway + + * main.c: Put the undef macros in an array. + +2003-02-12 16:54 Will Estes + + * NEWS, configure.in: version 2.5.28 + +2003-02-10 09:11 Will Estes + + * README, TODO, configure.in, flex.texi: update documentation to + reflect the sourceforge move + +2003-02-06 16:00 Will Estes + + * TODO: update according to current thinking + +2003-02-06 15:12 Will Estes + + * TODO: mcvs reviewed + +2003-02-06 09:06 Will Estes + + * TODO: sourceforge migration tasks + +2003-02-04 09:10 Will Estes + + * NEWS: Flex now warns if always-interactive is specified with fast + or full; Fixed trailing slash bug in YY_INPUT macro def + +2003-01-31 17:30 John Millaway + + * scan.l: Flex now warns if always-interactive is specified with + fast or full. + +2003-01-31 12:37 Will Estes + + * Makefile.am: switch to using cvs2cl.pl to generate the ChangeLog + +2003-01-31 12:12 Will Estes + + * tools/: cvs2cl.pl, cvsauthors: we're going to be switching how we + handle our ChangeLog + +2003-01-29 15:16 John Millaway + + * gen.c, misc.c: Fixed trailing slash bug in YY_INPUT macro def. + +2003-01-29 13:09 Will Estes + + * README.cvs-snapshot: upgrade texinfo to 4.3d + +2003-01-29 13:07 Will Estes + + * flex.texi: the @copying construct works now; thanks to the + texinfo maintainers for finding the problem + +2003-01-21 08:33 Will Estes + + * NEWS, configure.in: version 2.5.27 + +2003-01-21 08:32 Will Estes + + * NEWS: flex now works with recent bison versions + +2003-01-18 13:54 John Millaway + + * flex.skl: Check for YYLTYPE_IS_DECLARED. This fixes bison-bridge + with latest bison. + +2003-01-15 08:33 Will Estes + + * NEWS, po/pt_BR.po: new pt_br translation + +2003-01-14 10:51 Will Estes + + * NEWS, configure.in: version 2.5.26 + +2003-01-14 09:12 Will Estes + + * NEWS: Fixed table deserialization bug on big-endian archs. Patch + sent from Bryce Nichols + +2003-01-11 22:30 John Millaway + + * tables_shared.h: Fixed table deserialization bug on big-endian + archs. Patch sent from Bryce Nichols . + +2003-01-10 09:05 Will Estes + + * README.cvs-snapshot: add version numbers for some tools and + explain about version.texi and --enable-maintainer-mode + +2003-01-10 08:59 Will Estes + + * NEWS: catch news up + +2003-01-09 18:06 John Millaway + + * tests/: test-mem-nr/scanner.l, test-mem-r/scanner.l: Changed + size_t to yy_size_t in yyalloc() and yyrealloc(). Is this really + what we want? + +2003-01-09 17:20 John Millaway + + * flex.skl: Changed type of yyleng from size_t to int. This fixes + bug in PostgreSQL compilation. + +2003-01-09 11:15 Will Estes + + * NEWS: catch news up + +2003-01-09 11:15 Will Estes + + * flex.skl: more c++ fixes + +2003-01-09 10:43 Will Estes + + * Makefile.am, configure.in, flex.spec.in: add a spec file + +2003-01-09 10:25 Will Estes + + * flex.skl: type cast to pacify c++ compilers; patch from Bruce + Lilly + +2003-01-08 12:58 Will Estes + + * NEWS: new es translation + +2003-01-08 12:57 Will Estes + + * po/es.po: new spanish translation + +2002-12-18 22:17 John Millaway + + * gen.c: Fixed bug where YY_G(0) sometimes occurs (created by my + previous commit.) + +2002-12-17 18:53 John Millaway + + * gen.c: Fixed bug submitted by Bojan Smojver + where the use of yylineno, reentrant, and yymore together caused a + compile-time error. + +2002-12-17 16:57 Will Estes + + * NEWS: update NEWS + +2002-12-17 15:28 John Millaway + + * flex.texi: Documented new behavior with character ranges. + +2002-12-16 18:33 John Millaway + + * parse.y: Fixed bug submitted by Bruce Lilly + where character ranges would yield unexpected behavior in a + caseless scanner. Also, flex now emits a warning if the range + looks like trouble. + +2002-12-16 18:28 John Millaway + + * flexdef.h, ccl.c: Added utility functions to deal with character + case. + +2002-12-09 09:14 Will Estes + + * flexint.h: we don't really need int64 anyway + +2002-12-09 09:13 Will Estes + + * flex.skl: apparently some lints are happier with fllthrough + without a space + +2002-12-02 15:50 Will Estes + + * NEWS, configure.in: version 2.5.25 + +2002-12-02 15:48 Will Estes + + * Makefile.am: enclose flex.1 target in MAINTERNER_MODE + +2002-12-02 08:39 Will Estes + + * po/pt_BR.po: new pt_br translation + +2002-12-01 13:31 John Millaway + + * flex.texi: Indexed some more faqs. + +2002-11-28 22:34 John Millaway + + * flex.skl: Fixed bug in SECOND yyless definition where argument + was not enclosed in parentheses. + +2002-11-28 22:29 John Millaway + + * flex.skl: Fixed bug in yyless definition where argument was not + enclosed in parentheses. + +2002-11-27 13:42 Will Estes + + * NEWS: flex uses flex_int*_t types + +2002-11-27 13:41 Will Estes + + * flexint.h: integer types for non-C99 systems flexint.h + +2002-11-27 09:43 John Millaway + + * dfa.c, flexint.h, gen.c, tables.c, tables.h, tables_shared.c, + tables_shared.h: Changed int types to flex_intX_t. The build is now + broken until typedef's are established. + +2002-11-27 09:05 Will Estes + + * Makefile.am: MAINTAINERCLEANFILES: new variable: try to make it + so that make maintainer-clean erases everything not under version + control + +2002-11-27 08:53 Will Estes + + * config.rpath: remove config.rpath + +2002-11-27 08:52 Will Estes + + * README-alpha: just list location of betas + +2002-11-26 09:46 Will Estes + + * flexint.h: __STDC_VERSION__ needs an L suffix + +2002-11-26 08:22 Will Estes + + * NEWS, po/LINGUAS, po/pt_BR.po: new pt_br translation from the + translation project + +2002-11-25 11:19 Will Estes + + * flexint.h: include inttypes.h for folks who really are C99 + +2002-11-25 09:17 Will Estes + + * TODO: fix a typo + +2002-11-25 08:53 Will Estes + + * NEWS, configure.in: version 2.5.24 + +2002-11-23 12:59 Will Estes + + * configure.in: try to make sure we have GNU m4 + +2002-11-23 12:56 Will Estes + + * tests/test-c++-multiple-scanners/Makefile.am: include + tests/test-c++-multipl-scanners/test.input + +2002-11-23 12:28 Will Estes + + * NEWS: more portability fixes + +2002-11-23 11:50 Will Estes + + * configure.in, flexdef.h: apparently on some BSD systems, we need + sys/params.h; reported by millaway + +2002-11-22 16:04 Will Estes + + * NEWS: update NEWS + +2002-11-22 15:38 John Millaway + + * flex.skl, main.c, tests/test-c++-multiple-scanners/Makefile.am: + Fixed prefix of yyalloc,yyfree,yyrealloc in C++ scanner. Removed + yylex_destroy from C++ scanner. + +2002-11-22 15:05 John Millaway + + * flex.texi: renamed some faqs. + +2002-11-22 08:20 Will Estes + + * AUTHORS: update wording about authorship + +2002-11-17 17:17 John Millaway + + * parse.y: Removed space before line num in error messages to look + more like gcc's errors. + +2002-11-06 10:16 Will Estes + + * po/tr.po, NEWS: new turkish translation from the translation + project + +2002-10-28 07:21 Will Estes + + * gen.c: applied c++ from lilypond folks for std:: reasons + +2002-10-25 15:18 Will Estes + + * flex.texi: proofreading + +2002-10-24 16:07 Will Estes + + * flex.texi: proofreading + +2002-10-22 10:28 Will Estes + + * flex.skl: use c-style header names in c++ for now; at some point + we'll have a separate c++ skeleton and we can go whole-hog pure c++ + +2002-10-22 10:01 Will Estes + + * TODO: c++ rants + +2002-10-22 09:37 Will Estes + + * flex.texi: more proofreading + +2002-10-22 09:37 Will Estes + + * Makefile.am: include intent.pro; indent target is MAINTAINER_MODE + conditional + +2002-10-22 08:32 Will Estes + + * configure.in: When we use AC_PATH_PROG, value-if-not-found is the + name of the program we wanted to find; this will generate more + helpful error messages + +2002-10-21 19:52 John Millaway + + * tables.c: Added a missing function prototype. + +2002-10-21 13:30 Will Estes + + * NEWS, configure.in: version 2.5.23 + +2002-10-21 13:27 Will Estes + + * NEWS: update NEWS on recent changes + +2002-10-21 13:21 Will Estes + + * flexint.h: use sys/types.h and not inttypes.h + +2002-10-21 13:20 Will Estes + + * configure.in: check for limits.h + +2002-10-21 13:19 Will Estes + + * TODO: update TODO on recent suggestions + +2002-10-21 11:28 Will Estes + + * flex.texi: titlepage and contents + +2002-10-21 10:45 Will Estes + + * Makefile.am: typo + +2002-10-21 10:27 Will Estes + + * Makefile.am, README.cvs-snapshot: include README.cvs-snapshot in + the distribution; in README-cvs-snapshot, mention the need for + enable-maintainer-mode + +2002-10-20 22:26 John Millaway + + * flex.texi: typo. + +2002-10-18 11:25 Will Estes + + * flex.texi: report the current version info that flex provides; + reformat a list of non-posix features + +2002-10-18 11:25 Will Estes + + * NEWS: report the current version info that flex provides + +2002-10-18 11:23 Will Estes + + * flex.skl: FLEX_BETA defined if flex is beta + +2002-10-16 09:15 Will Estes + + * flexint.h: if we're doing c++, then we can't use long long + +2002-10-14 11:33 Will Estes + + * TODO: update TODO on several things + +2002-10-11 16:40 Will Estes + + * flex.texi: more proofreading + +2002-10-11 11:26 Will Estes + + * tests/: TEMPLATE/Makefile.am, test-array-nr/Makefile.am, + test-array-r/Makefile.am, test-basic-nr/Makefile.am, + test-basic-r/Makefile.am, test-bison-nr/Makefile.am, + test-bison-yylloc/Makefile.am, test-bison-yylval/Makefile.am, + test-c++-basic/Makefile.am, test-c++-multiple-scanners/Makefile.am, + test-c-cpp-nr/Makefile.am, test-c-cpp-r/Makefile.am, + test-debug-nr/Makefile.am, test-debug-r/Makefile.am, + test-header-nr/Makefile.am, test-header-r/Makefile.am, + test-include-by-buffer/Makefile.am, + test-include-by-reentrant/Makefile.am, test-lineno-nr/Makefile.am, + test-lineno-r/Makefile.am, test-mem-nr/Makefile.am, + test-mem-r/Makefile.am, test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-posix/Makefile.am, + test-posixly-correct/Makefile.am, test-prefix-nr/Makefile.am, + test-prefix-r/Makefile.am, test-pthread/Makefile.am, + test-reject/Makefile.am, test-string-nr/Makefile.am, + test-string-r/Makefile.am, test-table-opts/Makefile.am, + test-yyextra/Makefile.am: remove BISON assignment as per suggestion + from Akim Demaille + +2002-10-11 11:04 Will Estes + + * Makefile.am, configure.in: remove intl from dist + +2002-10-11 10:33 Will Estes + + * configure.in: we use maintainer mode now + +2002-10-11 10:33 Will Estes + + * NEWS: include create-test + +2002-10-11 10:23 Will Estes + + * tests/Makefile.am: rename test to check-local as per Akim + Demaille; test for failed tests so that make check fails if any + tests do + +2002-10-11 08:46 Will Estes + + * tests/Makefile.am: use dist_noinst_scripts as per email from Akim + Demaille + +2002-10-10 17:42 John Millaway + + * flex.texi: Documentation. + +2002-10-10 15:54 Will Estes + + * NEWS, configure.in: version 2.5.22; portability fixes and attn to + the test suite + +2002-10-10 15:36 Will Estes + + * flexint.h: ok, this seems to work + +2002-10-10 15:12 Will Estes + + * tests/: TEMPLATE/Makefile.am, test-bison-nr/Makefile.am, + test-bison-yylloc/Makefile.am, test-bison-yylval/Makefile.am, + test-header-nr/Makefile.am, test-header-r/Makefile.am, + test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am: use builddir in tests that + need it in their include path + +2002-10-10 14:13 Will Estes + + * tests/TEMPLATE/Makefile.am: sometimes we put header files in the + builddir and so we should account for that + +2002-10-10 14:08 Will Estes + + * tests/TEMPLATE/Makefile.am: replace the last instance + +2002-10-10 13:02 Will Estes + + * flex.skl: include unistd.h and not cunistd as cunistd only seems + to be present on very recent systems + +2002-10-10 11:34 Will Estes + + * Makefile.am, configure.in, flex.skl, flexdef.h, flexint.h: redo + integral types again; add flexint.h; change dependencies caused by + adding flexint.h; remove autoconf wrapper around cunistd; restore + netinet/in.h includes; remove unneded feature checks in + configure.in + +2002-10-08 11:32 Will Estes + + * configure.in, flex.skl, flexdef.h: current swipe at header magic; + int types be damned + +2002-10-08 11:19 Will Estes + + * NEWS: change version constant info to reflect change to flex.skl + +2002-10-08 11:15 Will Estes + + * Makefile.am: remove README-alpha option; add definitions for + FLEX_{MAJOR,MINOR,SUBMINOR}_VERSION + +2002-10-07 11:29 Will Estes + + * flex.skl, flexdef.h: ok, here goes; try to handle integral + typedefs in one swell foop + +2002-10-07 11:28 Will Estes + + * configure.in: we check for {u,}int*_t types; maybe this will + simplify things + +2002-10-07 09:12 Will Estes + + * configure.in: we create the tests/TEMPLATE/Makefile so that we + can build the dist archives + +2002-10-07 08:38 Will Estes + + * NEWS: more test suite cleanups + +2002-10-07 08:37 Will Estes + + * tests/test-c++-multiple-scanners/Makefile.am: we don't use header + files... + +2002-10-07 08:26 Will Estes + + * flexdef.h: remove include of malloc.h + +2002-10-04 15:33 Will Estes + + * flex.texi: more editing; remove examples index; merge examples + into concept index + +2002-10-04 08:36 Will Estes + + * flex.texi: edited one more faq; used C-u C-c C-u C-a to update + menus and nodes since the other updating commands are somewhat + broken; unfortunately this means that all nodes have all pointers + filled in + +2002-10-04 08:19 Will Estes + + * flex.texi: yesterday's proofreading + +2002-10-02 16:07 Will Estes + + * flex.texi: proofread some more + +2002-10-02 08:38 Will Estes + + * flex.texi: proofread edit begins + +2002-10-01 11:10 Will Estes + + * configure.in, tests/Makefile.am, + tests/test-c++-multiple-scanners/.cvsignore, + tests/test-c++-multiple-scanners/Makefile.am, + tests/test-c++-multiple-scanners/main.cpp, + tests/test-c++-multiple-scanners/scanner-1.l, + tests/test-c++-multiple-scanners/scanner-2.l, + tests/test-c++-multiple-scanners/test.input: test c++ with multiple + scanners + +2002-09-27 16:58 Will Estes + + * tests/: test-array-nr/Makefile.am, test-array-r/Makefile.am, + test-basic-nr/Makefile.am, test-basic-r/Makefile.am, + test-bison-nr/Makefile.am, test-bison-yylloc/Makefile.am, + test-bison-yylval/Makefile.am, test-c++-basic/Makefile.am, + test-c-cpp-nr/Makefile.am, test-c-cpp-r/Makefile.am, + test-debug-nr/Makefile.am, test-debug-r/Makefile.am, + test-header-nr/Makefile.am, test-header-r/Makefile.am, + test-include-by-buffer/Makefile.am, + test-include-by-reentrant/Makefile.am, test-lineno-nr/Makefile.am, + test-lineno-r/Makefile.am, test-mem-nr/Makefile.am, + test-mem-r/Makefile.am, test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-posix/Makefile.am, + test-posixly-correct/Makefile.am, test-prefix-nr/Makefile.am, + test-prefix-r/Makefile.am, test-pthread/Makefile.am, + test-reject/Makefile.am, test-string-nr/Makefile.am, + test-string-r/Makefile.am, test-table-opts/Makefile.am, + test-yyextra/Makefile.am: we used INCLUDES in another place in the + Makefile.am files in the test suite + +2002-09-27 16:50 Will Estes + + * tests/: test-array-nr/Makefile.am, test-array-r/Makefile.am, + test-basic-nr/Makefile.am, test-basic-r/Makefile.am, + test-bison-nr/Makefile.am, test-bison-yylloc/Makefile.am, + test-bison-yylval/Makefile.am, test-c++-basic/Makefile.am, + test-c-cpp-nr/Makefile.am, test-c-cpp-r/Makefile.am, + test-debug-nr/Makefile.am, test-debug-r/Makefile.am, + test-header-nr/Makefile.am, test-header-r/Makefile.am, + test-include-by-buffer/Makefile.am, + test-include-by-reentrant/Makefile.am, test-lineno-nr/Makefile.am, + test-lineno-r/Makefile.am, test-mem-nr/Makefile.am, + test-mem-r/Makefile.am, test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-posix/Makefile.am, + test-posixly-correct/Makefile.am, test-prefix-nr/Makefile.am, + test-prefix-r/Makefile.am, test-pthread/Makefile.am, + test-reject/Makefile.am, test-string-nr/Makefile.am, + test-string-r/Makefile.am, test-table-opts/Makefile.am, + test-yyextra/Makefile.am: oops, I typed that last s/// command to + perl way wrong + +2002-09-27 16:46 Will Estes + + * tests/: TEMPLATE/Makefile.am, test-array-nr/Makefile.am, + test-array-r/Makefile.am, test-basic-nr/Makefile.am, + test-basic-r/Makefile.am, test-bison-nr/Makefile.am, + test-bison-yylloc/Makefile.am, test-bison-yylval/Makefile.am, + test-c++-basic/Makefile.am, test-c-cpp-nr/Makefile.am, + test-c-cpp-r/Makefile.am, test-debug-nr/Makefile.am, + test-debug-r/Makefile.am, test-header-nr/Makefile.am, + test-header-r/Makefile.am, test-include-by-buffer/Makefile.am, + test-include-by-reentrant/Makefile.am, test-lineno-nr/Makefile.am, + test-lineno-r/Makefile.am, test-mem-nr/Makefile.am, + test-mem-r/Makefile.am, test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-posix/Makefile.am, + test-posixly-correct/Makefile.am, test-prefix-nr/Makefile.am, + test-prefix-r/Makefile.am, test-pthread/Makefile.am, + test-reject/Makefile.am, test-string-nr/Makefile.am, + test-string-r/Makefile.am, test-table-opts/Makefile.am, + test-yyextra/Makefile.am: use AM_CPPFLAGS instead of INCLUDES; + write -I with no space after it for broken compilers + +2002-09-27 16:28 Will Estes + + * Makefile.am: INCLUDES is obsolete; use AM_CPPFLAGS instead + +2002-09-27 13:02 Will Estes + + * configure.in: apparently, AM_CONFIG_HEADER is obsolete + +2002-09-27 12:30 Will Estes + + * TODO: integrate test suite into automake + +2002-09-27 12:18 Will Estes + + * configure.in: since we dont run the template test, we dont need + to generate its Makefile either + +2002-09-27 12:17 Will Estes + + * autogen.sh: use autoreconf instead of calling individual + utilities separately + +2002-09-27 09:20 Will Estes + + * configure.in: check for c++ compiler + +2002-09-27 09:20 Will Estes + + * configure.in: re-organize according to suggested layout in + autoconf manual + +2002-09-26 08:54 Will Estes + + * Makefile.am, NEWS, configure.in: update automake to 1.7 and + autoconf to 2.54 + +2002-09-26 08:48 Will Estes + + * Makefile.am: use AM_YFLAGS since YFLAGS is a user variable + +2002-09-25 09:40 Will Estes + + * NEWS: catch NEWS up on things, some of which happened a long time + ago; correct punctuation; try to remove some editorializing + +2002-09-25 09:39 Will Estes + + * Makefile.am, flex.skl, flex.texi: include a single, automatically + generated version number in flex scanners + +2002-09-23 16:39 Will Estes + + * tests/create-test: complain audibly when argument not supplied; + echo on stderr when writing error messages + +2002-09-23 12:02 Will Estes + + * tests/: Makefile.am, create-test: DIST_SUBDIRS so we don't have + to run the TEMPLATE test; so we add new tests to SUBDIRS and + DIST_SUBDIRS + +2002-09-23 11:30 Will Estes + + * tests/TEMPLATE/Makefile.am: not all compilers support '-I dir' so + we write '-Idir' instead + +2002-09-23 10:00 Will Estes + + * TODO: reorganize faq entries; proofread the manual + +2002-09-23 09:55 Will Estes + + * flex.texi: move c++ experimental warning to top of cxx node + +2002-09-20 13:17 Will Estes + + * flex.skl: move stdint.h include to table-serialization section; + we'll still need to think about stdint.h more though + +2002-09-20 08:30 Will Estes + + * NEWS: new smarter skeleton/scanner generation + +2002-09-19 20:06 John Millaway + + * flex.skl, misc.c: bison-bridge skel handled via %if/%endif pairs. + +2002-09-19 19:57 John Millaway + + * flex.skl, misc.c: reentrant skel handled via %if/%endif pairs. + +2002-09-19 19:20 John Millaway + + * flex.skl, misc.c: skeleton uses %push/%pop to keep skelout() + scope sane. skel commands are omitted unless --debug enabled. + +2002-09-19 15:46 John Millaway + + * flex.skl, main.c, misc.c, tables.h: Added %push and %pop + operations to skel processing. + +2002-09-17 08:27 Will Estes + + * NEWS, configure.in: flex 2.5.21 + +2002-09-17 00:10 John Millaway + + * tests/test-reject/Makefile.am: minor fixup for dist. + +2002-09-16 16:26 Will Estes + + * NEWS, configure.in: version 2.5.20 + +2002-09-16 16:25 Will Estes + + * flex.texi: correct typo + +2002-09-16 15:59 Will Estes + + * NEWS: note the new tables functionality + +2002-09-16 14:40 John Millaway + + * tests/test-multiple-scanners-r/: .cvsignore, Makefile.am: Fixed + `clean' target and .cvsignore. + +2002-09-16 14:38 John Millaway + + * TODO, flex.skl, flex.texi, main.c, tables_shared.h, + tests/test-multiple-scanners-r/main.c, + tests/test-multiple-scanners-r/scanner-1.l, + tests/test-multiple-scanners-r/scanner-2.l: Serialization works in + headers (%option headers). Serialization code (Tables API) is + complete. + +2002-09-16 08:41 Will Estes + + * tests/test-reject/scanner.l: replace yytables_load with + yytables_fload as per millaway's other changes + +2002-09-15 19:13 John Millaway + + * TODO, flex.texi: Created user API for tables deserialization. + Documented API and --tables-* options in manual. + +2002-09-15 19:12 John Millaway + + * flex.skl, tests/test-table-opts/scanner.l: Tables deserialization + uses yyalloc/yyfree. Changed yytables_load to yytables_fload. + +2002-09-15 18:09 John Millaway + + * tests/test-bison-nr/.cvsignore: minor upkeep. + +2002-09-15 15:53 John Millaway + + * flex.texi: Categorized and indexed scanner options in manual. + +2002-09-15 12:47 John Millaway + + * flex.skl: Initialization of reject vars and %array vars in + reentrant scanner. + +2002-09-13 17:54 John Millaway + + * TODO, configure.in, dfa.c, flex.skl, flex.texi, gen.c, tables.c, + tables_shared.c, tables_shared.h, devel/tables.pl, + tests/Makefile.am, tests/test-reject/.cvsignore, + tests/test-reject/Makefile.am, tests/test-reject/scanner.l, + tests/test-reject/test.input, tests/test-table-opts/Makefile.am: + Created test for reject. Handled reject-triggered tables in + serialization. + +2002-09-13 08:28 Will Estes + + * NEWS: millaway has been very busy + +2002-09-13 03:12 John Millaway + + * flex.skl, tests/test-table-opts/Makefile.am, + tests/test-table-opts/scanner.l: Added test for multiple tables in + one file. + +2002-09-12 21:19 John Millaway + + * tests/test-bison-nr/.cvsignore: forgot to add .cvsignore on last + commit. + +2002-09-12 21:18 John Millaway + + * tests/test-bison-nr/: Makefile.am, main.c, parser.y, scanner.l, + test.input: Added test-bison-bridge. + +2002-09-12 21:17 John Millaway + + * configure.in, flex.skl, flex.texi, flexdef.h, gen.c, main.c, + misc.c, options.c, options.h, scan.l, tables.h, tests/Makefile.am, + tests/descriptions, tests/test-bison-yylloc/scanner.l, + tests/test-bison-yylval/scanner.l, tests/test-table-opts/scanner.l: + Bison bridge code now works for all C scanners and pure/non-pure + bison parsers. Added %option bison-bridge (--bison-bridge). + Removed %option reentrant-bison/--reentrant-bison/-Rb. Scanner + knows the name of its tables. Tables serialization is OK on EOF. + yylineno is present in all scanners. Modified nasty performance + penalty warning w/ yylineno. test-table-opts is now run last + because it's so fat. Updated manual. + +2002-09-12 11:48 John Millaway + + * flex.texi: documentation of tabels api in manual + +2002-09-12 10:54 John Millaway + + * TODO, tables.c: Renamed *_fwrite to *_write to reflect writer + abstraction. + +2002-09-11 17:55 John Millaway + + * devel/tables.pl: Added perl script to read/dump serialized tables + in devel/ + +2002-09-11 17:22 Will Estes + + * scan.l: the debian patch used strlen(yytext) and similar + constructs--as millaway points out, this is better known as yyleng + +2002-09-11 16:00 Will Estes + + * NEWS, po/de.po: new de translation from the translation project + +2002-09-11 08:30 John Millaway + + * flex.skl: yytbl_load now checks tables set by name. Localized + var scaope in yytbl_load. + +2002-09-10 09:12 Will Estes + + * tests/Makefile.am: make clean before make test + +2002-09-09 18:06 John Millaway + + * TODO, flex.skl: Fixed deserialization of --fast tables. + +2002-09-09 16:44 Will Estes + + * TODO: fix typo; remove the yylineo entry + +2002-09-09 15:25 John Millaway + + * TODO, buf.c, dfa.c, flex.skl, flexdef.h, gen.c, main.c, misc.c, + options.c, options.h, scan.l, tables.c, tables.h, tables_shared.h, + devel/dump-tables.pl, tests/test-table-opts/.cvsignore, + tests/test-table-opts/Makefile.am, tests/test-table-opts/scanner.l: + Table deserialization works for everything except --fast scanners. + Scanners can auto-verify serialized table integrity via + --tables-verify. Added tables API items to TODO list. + test-table-opts is becoming exhaustive (a good thing). + +2002-09-09 11:54 Will Estes + + * NEWS: flex has better internal diagnostics + +2002-09-09 11:52 Will Estes + + * configure.in, flexdef.h: test for presence of __func__ and + compensate if absent + +2002-09-09 09:59 Will Estes + + * Makefile.am: include the intl/ subdirectory when searching for + include files + +2002-09-09 08:49 Will Estes + + * NEWS, po/ru.po, po/sv.po: new sv, ru translations from the + translation project + +2002-09-07 18:40 John Millaway + + * flex.skl, misc.c: Changed cryptic skeleton markers to readable + form. + +2002-09-07 00:18 John Millaway + + * Makefile.am, dfa.c, flex.skl, flex.texi, flexdef.h, gen.c, + main.c, misc.c, parse.y, tables.c, tables.h, tables_shared.c, + tables_shared.h: Members of struct yy_trans_info are now forced to + be the same size. Added shared file tables_shared.c. Separated + tables.h from flexdef.h Bulk of table deserialization code is done. + +2002-09-06 11:42 Will Estes + + * NEWS, po/ca.po: new ca translation + +2002-09-06 11:24 Will Estes + + * NEWS: new fr translation + +2002-09-06 11:22 Will Estes + + * po/fr.po: new french translation from the translation project + +2002-09-05 14:41 Will Estes + + * NEWS: c99 function defs by default + +2002-09-05 14:22 John Millaway + + * flexdef.h, tables.c: Added flex_die macro. May need some autoconf + massaging. Added thorough error checking in tables code. + +2002-09-05 14:21 John Millaway + + * flex.skl, flex.texi: Flex generates C99 defs now. Documented the + above change in manual. + +2002-09-05 14:12 John Millaway + + * tests/test-table-opts/: .cvsignore, Makefile.am: Added + serialization test to table-opts test. + +2002-09-05 12:03 Will Estes + + * configure.in: oops, i made a typo + +2002-09-05 12:01 Will Estes + + * NEWS, configure.in: version 2.5.19 + +2002-09-05 10:08 Will Estes + + * scan.l: use FLEX_EXIT(), not exit() + +2002-09-05 09:53 John Millaway + + * devel/: 00EXTRACT-ALL-SYMS.sh, README, dump-tables.pl: Added + devel/ directory for junk that we don't want in the distribution, + but that we want in CVS. + +2002-09-05 09:26 Will Estes + + * scan.l: s/exit(1)/exit(EXIT_FAILURE) + +2002-09-05 09:18 John Millaway + + * dfa.c, gen.c: Tables are now generated with %option + tables-file=FILE. + +2002-09-05 09:14 Will Estes + + * NEWS: catch up on a few things + +2002-09-05 09:11 Will Estes + + * scan.l: prevent segfault on input lines which are longer than the + allocated space (problem report from Manoj Srivastava + ) + +2002-09-05 06:54 John Millaway + + * flex.texi, main.c, options.c, options.h: Changed option 'header' + to 'header-file'. 'header' still works, though. + +2002-09-05 06:48 John Millaway + + * flex.texi, flexdef.h, gen.c, main.c, options.c, options.h, + scan.l, tables.c: Tons more work on tables. + +2002-09-05 00:24 John Millaway + + * flexdef.h, gen.c, tables.c, tables_shared.h: Lots of work on + tables serialization code. + +2002-09-04 08:36 Will Estes + + * README.cvs-snapshot: mention GNU indent + +2002-09-04 08:33 Will Estes + + * NEWS: remove the word after from the version line + +2002-09-03 17:02 Will Estes + + * NEWS, configure.in: version 2.5.18 + +2002-09-03 09:46 Will Estes + + * NEWS: catch up on the NEWS + +2002-09-03 09:42 Will Estes + + * tests/Makefile.am: target test: quote the results echoing so that + the ECHO_C will work on systems where it is used + +2002-09-03 09:08 Will Estes + + * configure.in: when we don't have GNU indent, the test will + generate output on stderr, so we send that to /dev/null + +2002-09-03 08:56 Will Estes + + * configure.in: fixed bug whereby bison was reported missing even + when it was found + +2002-09-02 14:44 John Millaway + + * tables.c: In-code documentation. + +2002-09-02 14:44 John Millaway + + * flexdef.h: Forgot to indent before previous commit. + +2002-09-02 13:55 John Millaway + + * flexdef.h: Added known integer limits if undefined. + +2002-08-29 17:12 Will Estes + + * configure.in: version 2.5.17 + +2002-08-29 17:12 Will Estes + + * NEWS: more portability fixes; new version number + +2002-08-29 16:30 Will Estes + + * flexdef.h, main.c, misc.c, scanopt.c: #include fixes; we've + factored out all the system include files and put them in flexdef.h + +2002-08-29 15:02 Will Estes + + * dfa.c: eat a blank line + +2002-08-29 09:21 Will Estes + + * NEWS: new config.{sub,guess} files; mention that we use indent on + flex + +2002-08-28 13:12 Will Estes + + * configure.in: warn if no indent found; version 2.5.16 + +2002-08-28 13:10 Will Estes + + * NEWS: catch up on recent changes; version 2.5.16 + +2002-08-27 14:07 Will Estes + + * buf.c, ccl.c, dfa.c, ecs.c, flexdef.h, gen.c, libmain.c, + libyywrap.c, main.c, misc.c, nfa.c, options.c, options.h, + scanopt.c, scanopt.h, sym.c, tables.c, tables_shared.h, tblcmp.c, + yylex.c: ran the indent target; commit the results + +2002-08-27 14:05 Will Estes + + * Makefile.am: touch up the indent targeet; it's ready for + production use now + +2002-08-27 14:01 Will Estes + + * configure.in: test for GNU indent; reorder the tests somewhat + +2002-08-23 10:29 Will Estes + + * configure.in: automake is smarter about autoconf's versioning + scheme + +2002-08-23 09:18 Will Estes + + * NEWS: catch NEWS up on what we've been doing + +2002-08-22 13:18 Will Estes + + * flexdef.h: do some more conditional including for folks without + standard systems + +2002-08-22 13:15 Will Estes + + * tests/test-c++-basic/Makefile.am: use CXX to link the test + scanner here + +2002-08-22 01:35 John Millaway + + * flex.texi: Documentation. + +2002-08-21 21:49 John Millaway + + * Makefile.am: Created 'indent' target and added .indent.pro. + +2002-08-21 21:42 John Millaway + + * tests/: test-array-nr/Makefile.am, test-array-r/Makefile.am, + test-basic-nr/Makefile.am, test-basic-r/Makefile.am, + test-c-cpp-nr/Makefile.am: Fixed missing 'make clean' files. + +2002-08-21 21:34 John Millaway + + * tests/: test-bison-yylloc/Makefile.am, + test-bison-yylval/Makefile.am: fixed missing 'clean' file. + +2002-08-21 21:11 John Millaway + + * flex.skl, tests/test-c++-basic/Makefile.am, + tests/test-c++-basic/scanner.l: Removed core of yylex_destroy from + c++ scanner -- hack! Added -lstdc++ to LDFLAGS (should we have to + do this??) + +2002-08-21 10:15 Will Estes + + * README: official releases are being hosted by Vern + +2002-08-21 09:42 Will Estes + + * NEWS, configure.in: new beta version; more entries in NEWS from + millaway; the top level entry for test-c++-basic + +2002-08-21 09:41 Will Estes + + * tests/: Makefile.am, test-c++-basic/.cvsignore, + test-c++-basic/Makefile.am, test-c++-basic/scanner.l, + test-c++-basic/test.input: add test-c++-basic + +2002-08-21 02:54 John Millaway + + * gen.c, nfa.c: More tabels work. + +2002-08-20 21:54 John Millaway + + * flexdef.h, gen.c, tables.c, tables_shared.h: More work on tables. + +2002-08-20 19:49 John Millaway + + * dfa.c: Cleaned up macros that took no ';'. + +2002-08-20 19:47 John Millaway + + * scanopt.c: Fixed oddball '=-'. + +2002-08-20 17:42 John Millaway + + * flex.skl, flex.texi, gen.c: Dynamically allocate REJECT state + buffer. Mentioned memory usage in docs. Made REJECT buffer + variables reentrant-safe. + +2002-08-20 17:37 John Millaway + + * tables.c: More work on tables code. + +2002-08-20 10:52 Will Estes + + * Makefile.am, NEWS, configure.in: we're using m4 so have configure + test for it + +2002-08-20 00:23 John Millaway + + * Makefile.am, tables.c: Added tables.c and rebuilt dependencies. + +2002-08-19 20:30 John Millaway + + * TODO, flex.texi: Dicussed prototypes and header in manual. + +2002-08-19 17:56 John Millaway + + * Makefile.am, configure.in, flex.skl, flexdef.h, tables_shared.h: + More work on tables serialization. + +2002-08-19 17:15 John Millaway + + * Makefile.am, mkskel.sh: Skeleton is now passed through m4 (before + dist is built). + +2002-08-19 08:51 Will Estes + + * po/: LINGUAS, zh_CN.po: add zh_cn translation from the + translation project + +2002-08-19 08:51 Will Estes + + * NEWS: millaway's done a lot of things which need to be mentioned + in NEWS + +2002-08-18 16:32 John Millaway + + * main.c: Removed #undef of start conditions. + +2002-08-17 18:24 John Millaway + + * TODO: todo list + +2002-08-17 16:04 John Millaway + + * flexdef.h, main.c, misc.c: Start conditions now optional in + header. undef's now optional in header. Start conditions are NOT + prefixed. + +2002-08-17 13:05 John Millaway + + * flex.skl, flex.texi: Working on tables API. + +2002-08-16 18:32 John Millaway + + * flexdef.h, main.c, misc.c, options.c, options.h, parse.y, scan.l: + Added --tables option. Omitted tables code from generated scanner + when unused. + +2002-08-16 15:54 John Millaway + + * flex.skl, flex.texi, misc.c: Prelimary work on tables API. + +2002-08-16 15:45 John Millaway + + * tests/: TEMPLATE/Makefile.am, test-array-nr/Makefile.am, + test-array-r/Makefile.am, test-basic-nr/Makefile.am, + test-basic-r/Makefile.am, test-bison-yylloc/Makefile.am, + test-bison-yylval/Makefile.am, test-c-cpp-nr/Makefile.am, + test-c-cpp-r/Makefile.am, test-debug-nr/Makefile.am, + test-debug-r/Makefile.am, test-header-nr/Makefile.am, + test-header-r/Makefile.am, test-include-by-buffer/Makefile.am, + test-include-by-reentrant/Makefile.am, test-lineno-nr/Makefile.am, + test-lineno-r/Makefile.am, test-mem-nr/Makefile.am, + test-mem-r/Makefile.am, test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-posix/Makefile.am, + test-posixly-correct/Makefile.am, test-prefix-nr/Makefile.am, + test-prefix-r/Makefile.am, test-pthread/Makefile.am, + test-string-nr/Makefile.am, test-string-r/Makefile.am, + test-table-opts/Makefile.am, test-yyextra/Makefile.am: Tests now + respect CFLAGS, CPPFLAGS, etc.. + +2002-08-16 15:03 John Millaway + + * tests/: test-basic-nr/scanner.l, test-basic-r/scanner.l, + test-lineno-nr/scanner.l, test-lineno-r/scanner.l: Got rid of flex + -s warnings in tests. + +2002-08-16 14:51 John Millaway + + * Makefile.am: Updated dependencies list. + +2002-08-15 17:23 John Millaway + + * main.c: Fixed seg fault bug in ecs. + +2002-08-15 17:18 Will Estes + + * tests/: test-c-cpp-nr/.cvsignore, test-c-cpp-r/.cvsignore: ignore + .cpp files since we generate them instead of .c + +2002-08-15 11:37 Will Estes + + * configure.in: version 2.5.14 + +2002-08-15 11:37 Will Estes + + * NEWS: c-as-c++ tests reworked + +2002-08-15 11:15 John Millaway + + * tests/: test-c-cpp-nr/Makefile.am, test-c-cpp-nr/scanner.l, + test-c-cpp-r/Makefile.am, test-c-cpp-r/scanner.l: The c++ tests use + .cpp instead of .c extensions just to be on the safe side. + +2002-08-15 10:50 Will Estes + + * main.c: conditionally include ; include config.h as + well + +2002-08-15 10:49 Will Estes + + * configure.in, flex.skl: only include if we have it + +2002-08-15 10:48 Will Estes + + * NEWS: portability fixes; added missing punctuation; de + translation now included + +2002-08-15 10:16 Will Estes + + * po/LINGUAS: we also translate to german + +2002-08-15 09:17 Will Estes + + * Makefile.am: require automake at least 1.6 + +2002-08-15 08:32 Will Estes + + * NEWS, configure.in: version 2.5.13 + +2002-08-14 10:57 Will Estes + + * flex.texi: reverted away from the @copying as it breaks the info + reader + +2002-08-13 20:46 John Millaway + + * flex.texi, flexdef.h, main.c, misc.c: Start condition prefixes + attempts to adjust to user preferences. + +2002-08-13 17:19 John Millaway + + * main.c: Include start condition symbols in header. + +2002-08-13 15:16 John Millaway + + * flexdef.h, main.c: Omit user code and tables from generated + header file. + +2002-08-13 09:14 Will Estes + + * flex.texi: use @copying construct to display the flex license; + move copying and bug reporting to the front of the manual + +2002-08-13 09:00 Will Estes + + * NEWS: printf fix and yylex_init reports errors + +2002-08-12 19:15 John Millaway + + * flex.texi: Updated manual for %option header. + +2002-08-12 15:36 John Millaway + + * flex.skl, flex.texi, gen.c: Fixed type mismatch in printf. + yylex_init now reports errors. + +2002-08-10 13:22 John Millaway + + * dfa.c, main.c: Added alignment flag for future use. + +2002-08-10 13:17 John Millaway + + * tests/test-table-opts/: .cvsignore, Makefile.am: Added options to + test-table-opts + +2002-08-10 12:39 John Millaway + + * configure.in, tests/Makefile.am, tests/descriptions, + tests/test-c-cpp-nr/Makefile.am, tests/test-table-opts/.cvsignore, + tests/test-table-opts/Makefile.am, tests/test-table-opts/scanner.l, + tests/test-table-opts/test.input: Added a test for various DFA + table options. + +2002-08-09 16:36 Will Estes + + * flex.texi: more faq editing; corrected mistyped nodenames + +2002-08-09 13:41 Will Estes + + * flex.skl: fix typo which propogates out to generated scanners + +2002-08-09 10:42 Will Estes + + * flex.texi: edited a few more faqs + +2002-08-09 10:20 Will Estes + + * Makefile.am, faq.texi: remove faq.texi as it's included in + flex.texi + +2002-08-08 17:12 Will Estes + + * flex.texi: a few more faq edits; remove faq-89 + +2002-08-08 16:50 Will Estes + + * flex.texi: cite, not site + +2002-08-08 16:46 Will Estes + + * flex.texi: and get the faq included + +2002-08-08 16:29 Will Estes + + * flex.texi: fix some grammer/typography in the top node and add a + detailed menu + +2002-08-08 13:10 Will Estes + + * TODO: we've updated gettext + +2002-08-08 13:04 Will Estes + + * po/.cvsignore: we need to ignore a few more gettext files + +2002-08-08 11:22 Will Estes + + * NEWS, configure.in: version 2.5.12 + +2002-08-08 10:53 Will Estes + + * NEWS: mention gettext; document the non-need for bison/flex in + the build process + +2002-08-08 10:51 Will Estes + + * Makefile.am, configure.in: include intl in the distribution and + in the build process + +2002-08-08 10:12 Will Estes + + * Makefile.am: builddir in help2man call needed @-signs around it + +2002-08-08 09:54 Will Estes + + * po/.cvsignore: we can ignore Makefile.in.in + +2002-08-08 09:45 Will Estes + + * m4/: .cvsignore, Makefile.am: oops, too hasty on deleting this + directory, sigh + +2002-08-08 09:23 Will Estes + + * autogen.sh: if autopoint is going to run automatically, it's + going to need to be able to update existing files + +2002-08-08 09:22 Will Estes + + * ABOUT-NLS, autogen.sh, configure.in, m4/.cvsignore, + m4/Makefile.am, m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, + m4/iconv.m4, m4/isc-posix.m4, m4/lcmessage.m4, m4/lib-ld.m4, + m4/lib-link.m4, m4/lib-prefix.m4, m4/progtest.m4: autopoint now + works so let's let it run the gettext show + +2002-08-07 13:27 Will Estes + + * TODO: we need to index the faq entries + +2002-08-07 13:26 Will Estes + + * faq.texi: proofed "Why do flex scanners call fileno if it is not + ANSI compatible?" + +2002-08-07 13:23 Will Estes + + * faq.texi: proofed "How do I expand \ escape sequences in C-style + quoted strings?" + +2002-08-07 13:19 Will Estes + + * README: changes to README to align with GNU coding standards + +2002-08-06 09:05 Will Estes + + * Makefile.am: help2man should look in builddir for the flex binary + +2002-08-02 16:23 John Millaway + + * flex.skl: Fixed yyunput prototype. + +2002-08-01 11:35 Will Estes + + * NEWS: new fr translation from the translation project + +2002-08-01 10:02 Will Estes + + * po/fr.po: new fr.po translation from the translation project + +2002-08-01 10:00 Will Estes + + * NEWS: yylineno performance hit is fixed + +2002-07-31 17:29 John Millaway + + * TODO, flex.texi: Updated docs on yylineno. + +2002-07-31 15:19 Will Estes + + * TODO: discuss yylineno performance + +2002-07-31 13:07 Will Estes + + * NEWS: forgot to say what the date was that we made the release + +2002-07-31 10:52 Will Estes + + * NEWS, configure.in: version 2.5.11 + +2002-07-31 10:45 Will Estes + + * faq.texi: fixed a menu entry and related problems + +2002-07-31 10:38 Will Estes + + * configure.in: someday, maybe we can use autopoint + +2002-07-31 09:56 Will Estes + + * Makefile.am: we need to include texinfo.tex now + +2002-07-31 09:55 Will Estes + + * texinfo.tex: add texinfo.tex + +2002-07-30 11:59 Will Estes + + * faq.texi: fix up some fatal bugs in the texinfo of the faq; begin + the clean up; remove trailing and leading white space + +2002-07-30 11:53 Will Estes + + * TODO: faqs need work + +2002-07-30 09:03 Will Estes + + * NEWS, TODO: prototypes get airtime these days + +2002-07-28 16:02 John Millaway + + * flex.skl: Added some comments. + +2002-07-28 14:27 John Millaway + + * flex.skl: Fixed bug where yyless did not consider yylineno. + +2002-07-28 01:45 John Millaway + + * scan.l: Fixed bug I created in previous commit. + +2002-07-28 01:38 John Millaway + + * scan.l: Don't wrap ()s around {NAMEDEFS} at the end of a rule. + +2002-07-27 17:37 John Millaway + + * flex.skl, tests/test-c-cpp-nr/Makefile.am, + tests/test-c-cpp-r/Makefile.am: Fixed test-c-cpp to actually use + the C++ compiler for the test. Fixed the bug that this exposed. + +2002-07-27 15:34 John Millaway + + * ccl.c, flex.skl, flexdef.h, gen.c, main.c, nfa.c, parse.y, + scan.l: yylineno check is only performed on rules whose regexs can + match a newline. + +2002-07-24 20:43 John Millaway + + * flex.skl, tests/TEMPLATE/scanner.l, + tests/test-array-nr/scanner.l, tests/test-array-r/scanner.l, + tests/test-basic-nr/scanner.l, tests/test-basic-r/scanner.l, + tests/test-bison-yylloc/parser.y, tests/test-c-cpp-nr/scanner.l, + tests/test-c-cpp-r/scanner.l, tests/test-debug-nr/scanner.l, + tests/test-debug-r/scanner.l, + tests/test-include-by-buffer/scanner.l, + tests/test-include-by-reentrant/scanner.l, + tests/test-lineno-nr/scanner.l, tests/test-lineno-r/scanner.l, + tests/test-mem-nr/scanner.l, tests/test-mem-r/scanner.l, + tests/test-posix/scanner.l, tests/test-posixly-correct/scanner.l, + tests/test-prefix-nr/scanner.l, tests/test-prefix-r/scanner.l, + tests/test-pthread/scanner.l, tests/test-string-nr/scanner.l, + tests/test-string-r/scanner.l, tests/test-yyextra/scanner.l: All + prototypes were rewritten to depend upon the macro + YY_TRADITIONAL_FUNC_DEFS, which is defined by default. The + generated scanners build cleanly under gcc's traditional strictness + and under C++ compilers. + +2002-07-24 11:58 Will Estes + + * NEWS: dist-bzip2 and rename yy_globals and yy_globals_t + +2002-07-24 11:57 Will Estes + + * configure.in: version 2.5.10 + +2002-07-24 11:57 Will Estes + + * Makefile.am: add dist-bzip2 to automake_options so we'll start + getting tar.bz2 archives + +2002-07-23 16:11 John Millaway + + * flex.skl, flex.texi, tests/test-bison-yylval/scanner.l, + tests/test-mem-r/scanner.l, + tests/test-multiple-scanners-r/scanner-1.l, + tests/test-multiple-scanners-r/scanner-2.l, + tests/test-prefix-r/scanner.l, tests/test-pthread/scanner.l, + tests/test-yyextra/scanner.l: s/yy_globals_t/yyguts_t/g + s/yy_globals/yyscanner/g + +2002-07-23 13:55 John Millaway + + * Makefile.am: typo in tags target + +2002-07-22 12:18 John Millaway + + * Makefile.am: Removed erroneous $(srcdir) from help2man target. + +2002-07-22 10:03 Will Estes + + * NEWS, configure.in: it's version 2.5.9 now + +2002-07-22 09:56 Will Estes + + * po/.cvsignore: updated gettext to 0.11.3 + +2002-07-22 09:49 Will Estes + + * ABOUT-NLS, config.rpath, m4/gettext.m4, m4/iconv.m4, + m4/isc-posix.m4, m4/lcmessage.m4, m4/lib-link.m4: updated gettext + to version 0.11.3 + +2002-07-22 09:29 Will Estes + + * autogen.sh, configure.in: rollback on configure.in and autogen.sh + because autpoint is broken + +2002-07-22 09:15 Will Estes + + * po/ru.po: new russian translation from translation project + +2002-07-19 17:09 Will Estes + + * autogen.sh: ok, we're going to start using autopoint, but the + tree is going to undergo some changes after this + +2002-07-19 17:06 Will Estes + + * configure.in: we're preparing for autopoint + +2002-07-17 11:57 John Millaway + + * flex.texi: Updated manual. + +2002-07-17 08:53 Will Estes + + * NEWS: update the NEWS file for lots of things millaway has done + +2002-07-17 02:46 John Millaway + + * flex.skl, main.c, misc.c, scan.l, scanopt.c, sym.c, + tests/test-mem-nr/scanner.l, tests/test-mem-r/scanner.l: Fixed + prototype/definition conflicts with "traditional" C in skeleton at + request of gcc developer. Removed duplicate prototypes in gen.c, + sym.c, main.c. Added missing prototypes where needed. All + functions in skeleton follow ISO C style protos and defs, instead + of BOTH ISO and new-style. Skeleton now compiles cleanly under + super-strict gcc flags. Flex itself almost compiles cleanly under + strict flags. + +2002-07-15 14:59 John Millaway + + * faq.texi, flex.texi: Worked on mem mgmt sect of manual. + +2002-07-15 12:55 Will Estes + + * scan.l: allow blank lines and continuations in more places + +2002-07-12 13:43 Will Estes + + * TODO: millaway finished the faqs directory + +2002-07-12 13:39 Will Estes + + * TODO: removed items as per email from millaway + +2002-07-12 12:23 John Millaway + + * configure.in, tests/Makefile.am, tests/descriptions, + tests/test-posix/.cvsignore, tests/test-posix/Makefile.am, + tests/test-posix/scanner.l, tests/test-posixly-correct/.cvsignore, + tests/test-posixly-correct/Makefile.am, + tests/test-posixly-correct/scanner.l: Added test for %option + posix-compat and repeat operator. Added test for POSIXLY_CORRECT + environment variable and repeat operator. + +2002-07-12 12:21 John Millaway + + * main.c, scan.l: Fixed POSIXLY_CORRECT detection in scanner. + +2002-07-11 16:27 John Millaway + + * faq.texi: More work on faq. + +2002-07-11 16:06 John Millaway + + * faq.texi: Moved all faqs into manual -- but did not evaluate them + yet. Removed the old faq files. + +2002-07-10 17:59 John Millaway + + * main.c: Removed duplicate definition of FLEX_DEBUG. gcc doesn't + care, but other compilers might. + +2002-07-10 17:55 John Millaway + + * flex.texi: Wrote some more about memory mgmt in the manual. + +2002-07-10 11:43 John Millaway + + * flex.texi: flex.texi now works with install-info. + +2002-07-10 10:02 Will Estes + + * TODO: added items as per email from millaway + +2002-07-10 10:02 Will Estes + + * NEWS: after we release a version, we have to keep the version + number in NEWS current + +2002-07-09 20:04 John Millaway + + * flex.skl, flex.texi, main.c, scan.l, tests/test-mem-nr/scanner.l, + tests/test-mem-r/scanner.l: Fixed prefix issue with get/set debug + functions. Fixed prefix issues with memory functions. + +2002-07-09 19:35 John Millaway + + * flex.skl: Memory functions are no longer static. + +2002-07-09 19:02 John Millaway + + * tests/test-mem-nr/test.input: Added a missing input file for + test-mem-nr/ + +2002-07-09 18:47 John Millaway + + * tests/: test-mem-nr/.cvsignore, test-mem-nr/Makefile.am, + test-mem-nr/scanner.l, test-mem-r/.cvsignore, + test-mem-r/Makefile.am, test-mem-r/scanner.l, + test-mem-r/test.input: Added tests for overriding memory. + +2002-07-09 18:45 John Millaway + + * flex.texi: Added sections in manual for memory management. + +2002-07-09 17:36 Will Estes + + * NEWS: noted more user visible changes + +2002-07-09 16:52 John Millaway + + * configure.in, flex.skl, scan.l, tests/Makefile.am: Added + yylex_destroy() to non-reentrant scanner. Added ability to + override memory functions. Added tests for overriding memory + functions. + +2002-07-09 14:41 Will Estes + + * NEWS: new POSIXLY_CORRECT and new ru translation + +2002-07-09 14:40 Will Estes + + * po/ru.po: new ru translation from the translation project + +2002-07-09 14:25 John Millaway + + * flex.texi: Made note of set/get debug in docs. + +2002-07-09 14:11 John Millaway + + * configure.in, flexdef.h, tests/create-test: Replaced obsolete + macros in configure.in. Modified create-test to handle the above + changes in configure.in. Added support for . + +2002-07-09 13:27 John Millaway + + * main.c: Check POSIXLY_CORRECT env variable. + +2002-07-09 12:43 John Millaway + + * flex.skl: Added prototypes for the get/set debug functions. + +2002-07-09 12:37 John Millaway + + * configure.in, flex.skl, gen.c, main.c, scan.l, tests/Makefile.am, + tests/test-debug-nr/.cvsignore, tests/test-debug-nr/Makefile.am, + tests/test-debug-nr/scanner.l, tests/test-debug-nr/test.input, + tests/test-debug-r/.cvsignore, tests/test-debug-r/Makefile.am, + tests/test-debug-r/scanner.l, tests/test-debug-r/test.input: Made + yy_flex_debug non-global in reentrant scanner. Created get/set + functions for yy_flex_debug. Defined prefixes for new + yy_flex_debug symbols. Added tests/ for yy_flex_debug. + +2002-07-09 12:31 John Millaway + + * tests/create-test: create-test script now modifies .cvsignore + +2002-07-09 12:22 John Millaway + + * tests/create-test: Improved the error checking. + +2002-07-03 09:12 Will Estes + + * main.c: fix bug whereby prefix didn't get passed to everybody; + patch by rse@engelschall.com + +2002-07-03 08:47 Will Estes + + * faq.texi: ~ is an active character, so we'll just use the word + 'about' + +2002-07-02 18:59 John Millaway + + * Makefile.am: Fixed typo. + +2002-07-02 15:47 John Millaway + + * faq.texi: Added a faq. + +2002-06-28 19:05 John Millaway + + * Makefile.am: Added 'tags' target -- something I should have done + long ago. + +2002-06-28 12:18 Will Estes + + * TODO: add two new items regarding coding; remove tests/ copyright + notice item as it's done + +2002-06-26 08:33 Will Estes + + * NEWS: note the copyright messages in tests/ + +2002-06-25 15:37 John Millaway + + * tests/: TEMPLATE/Makefile.am, TEMPLATE/parser.y, + TEMPLATE/scanner.l, test-array-nr/Makefile.am, + test-array-nr/scanner.l, test-array-r/Makefile.am, + test-array-r/scanner.l, test-basic-nr/Makefile.am, + test-basic-nr/scanner.l, test-basic-r/Makefile.am, + test-basic-r/scanner.l, test-bison-yylloc/Makefile.am, + test-bison-yylloc/main.c, test-bison-yylloc/parser.y, + test-bison-yylloc/scanner.l, test-bison-yylval/Makefile.am, + test-bison-yylval/main.c, test-bison-yylval/parser.y, + test-bison-yylval/scanner.l, test-c-cpp-nr/Makefile.am, + test-c-cpp-nr/scanner.l, test-c-cpp-r/Makefile.am, + test-c-cpp-r/scanner.l, test-header-nr/Makefile.am, + test-header-nr/main.c, test-header-nr/scanner.l, + test-header-r/Makefile.am, test-header-r/main.c, + test-header-r/scanner.l, test-include-by-buffer/Makefile.am, + test-include-by-buffer/scanner.l, + test-include-by-reentrant/Makefile.am, + test-include-by-reentrant/scanner.l, test-lineno-nr/Makefile.am, + test-lineno-nr/scanner.l, test-lineno-r/Makefile.am, + test-lineno-r/scanner.l, test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-nr/main.c, + test-multiple-scanners-nr/scanner-1.l, + test-multiple-scanners-nr/scanner-2.l, + test-multiple-scanners-r/Makefile.am, + test-multiple-scanners-r/main.c, + test-multiple-scanners-r/scanner-1.l, + test-multiple-scanners-r/scanner-2.l, test-prefix-nr/Makefile.am, + test-prefix-nr/scanner.l, test-prefix-r/Makefile.am, + test-prefix-r/scanner.l, test-pthread/Makefile.am, + test-pthread/scanner.l, test-string-nr/Makefile.am, + test-string-nr/scanner.l, test-string-r/Makefile.am, + test-string-r/scanner.l, test-yyextra/Makefile.am, + test-yyextra/scanner.l: Prepended explicit license to all test-*/ + sources. + +2002-06-25 08:56 Will Estes + + * NEWS, po/ca.po, po/de.po, po/fr.po, po/sv.po, po/tr.po: new ca, + de, fr, sv, tr translations + +2002-06-19 09:40 Will Estes + + * TODO: add bootstrapper to the todo list + +2002-06-19 09:38 Will Estes + + * configure.in: new version number + +2002-06-19 09:38 Will Estes + + * TODO: update TODO list + +2002-06-19 09:26 Will Estes + + * NEWS, TODO, flex.texi, flexdef.h, main.c, options.c, options.h, + parse.y, scan.l: address typos in NEWS; add --posix option for ERE + parsing the way posix wants it; update the TODO file + +2002-05-31 13:18 Will Estes + + * README-alpha: made code quality warning more explicit; gave url + for cvs and beta flex + +2002-05-23 11:53 John Millaway + + * gen.c: Fixed bug where omission of user section 3 caused + unmatched #ifdef's in generated code. + +2002-05-20 08:39 Will Estes + + * configure.in: configure.in requires at least autoconf 2.50 + +2002-05-13 14:45 John Millaway + + * Makefile.am: Updated my email address. + +2002-05-10 15:33 John Millaway + + * flexdef.h, misc.c: chomp'd lines when reading external skel file. + +2002-05-07 11:00 Will Estes + + * po/sv.po: new sweedish translation from the translation project + +2002-04-29 11:37 Will Estes + + * po/ca.po: new catalan translation from the translation project + +2002-04-29 11:37 Will Estes + + * po/es.po: new spanish translation from the translation project + +2002-04-25 17:54 Will Estes + + * TODO: note that the lex matching of abc{1,3} is the posix + behavior and so we have a problem + +2002-04-25 17:53 Will Estes + + * flex.texi: note that the lex matching of abc{1,3} is the posix + behavior + +2002-04-23 07:02 Will Estes + + * configure.in: new version 2.5.7; use autoconf versioning info + +2002-04-23 07:01 Will Estes + + * NEWS: note changes in 2.5.7 + +2002-04-23 06:23 Will Estes + + * main.c: conditional compile gettext initialization + +2002-04-22 13:28 Will Estes + + * po/de.po: new german translation from the translation project + +2002-04-19 18:40 John Millaway + + * tests/test-include-by-reentrant/Makefile.am: Fixed command line + for test-include-by-reentrant/Makefile.am + +2002-04-19 18:30 John Millaway + + * tests/: Makefile.am, TEMPLATE/Makefile.am, + test-array-nr/Makefile.am, test-array-r/Makefile.am, + test-basic-nr/Makefile.am, test-basic-r/Makefile.am, + test-bison-yylloc/Makefile.am, test-bison-yylval/Makefile.am, + test-c-cpp-nr/Makefile.am, test-c-cpp-r/Makefile.am, + test-header-nr/Makefile.am, test-header-r/Makefile.am, + test-include-by-buffer/Makefile.am, + test-include-by-reentrant/Makefile.am, test-lineno-nr/Makefile.am, + test-lineno-r/Makefile.am, test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-prefix-nr/Makefile.am, + test-prefix-r/Makefile.am, test-pthread/Makefile.am, + test-string-nr/Makefile.am, test-string-r/Makefile.am, + test-yyextra/Makefile.am: Added -I . to compiler search path in + tests (so it finds the generated parser.h). + +2002-04-19 18:20 John Millaway + + * flexdef.h, misc.c, parse.y, sym.c: Applied 'const' to a few more + char*, where appropriate. + +2002-04-19 17:54 John Millaway + + * tests/: TEMPLATE/Makefile.am, test-array-nr/Makefile.am, + test-array-r/Makefile.am, test-basic-nr/Makefile.am, + test-basic-r/Makefile.am, test-bison-yylloc/Makefile.am, + test-bison-yylval/Makefile.am, test-c-cpp-nr/Makefile.am, + test-c-cpp-r/Makefile.am, test-header-nr/Makefile.am, + test-header-r/Makefile.am, test-include-by-buffer/Makefile.am, + test-include-by-reentrant/Makefile.am, test-lineno-nr/Makefile.am, + test-lineno-r/Makefile.am, test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-prefix-nr/Makefile.am, + test-prefix-r/Makefile.am, test-pthread/Makefile.am, + test-string-nr/Makefile.am, test-string-r/Makefile.am, + test-yyextra/Makefile.am: Added top_builddir to -I path. Changed + $(srcdir)/$(testname) to ./$(testname) in 'make test' rule. + +2002-04-19 17:53 John Millaway + + * flexdef.h, gen.c, misc.c: Changed 'char[]' to 'const char*' + wherever in conflicted with gettext. + +2002-04-19 10:35 Will Estes + + * po/: fr.po, sv.po: new files from translation after 2.5.6 beta + release + +2002-04-18 19:01 John Millaway + + * tests/test-lineno-r/Makefile.am: Fixed minor typo/cut and paste + error. + +2002-04-18 18:07 John Millaway + + * configure.in: Added yylineno test. + +2002-04-18 18:06 John Millaway + + * tests/Makefile.am: Added yylineno tests. + +2002-04-18 18:06 John Millaway + + * tests/: test-lineno-nr/.cvsignore, test-lineno-nr/Makefile.am, + test-lineno-nr/scanner.l, test-lineno-nr/test.input, + test-lineno-r/.cvsignore, test-lineno-r/Makefile.am, + test-lineno-r/scanner.l, test-lineno-r/test.input: Created yylineno + tests. + +2002-04-15 16:49 John Millaway + + * scanopt.c: Applied gettext macros to error messages from scanopt. + +2002-04-15 16:46 John Millaway + + * buf.c, faq.texi, options.c, options.h, scanopt.c, scanopt.h: + Changed copyright from Millaway to flex? U.S. Gov't? Regents of U. + Cali.? Paxson? + +2002-04-15 10:44 Will Estes + + * tests/: test-bison-yylloc/Makefile.am, + test-header-nr/Makefile.am, test-header-r/Makefile.am: we missed a + few main.c files in the distribution + +2002-04-15 08:05 Will Estes + + * TODO: a lot more work has happened to flex; note this by removing + a number of TODO entries + +2002-04-15 07:59 Will Estes + + * TODO: make sure all gettext modules use gettext translation + facilities + +2002-04-14 15:53 John Millaway + + * faq.texi: Converted faqs 34-41 to texinfo. + +2002-04-14 14:42 John Millaway + + * Makefile.am, faq.texi, flex.texi: Added faq.texi to archive. + Added faq.texi to flex_TEXINFOS macro in Makefile.am. flex.texi + now includes faq.texi. + +2002-04-13 00:16 John Millaway + + * flexdef.h: defined FLEX_EXIT macro to call longjmp on errors. + +2002-04-13 00:08 John Millaway + + * main.c, misc.c: Replaced exit(2) calls with longjmps (in the form + of FLEX_EXIT macro). Moved main() to flex_main() to allow flex to + be called from a library. + +2002-04-13 00:06 John Millaway + + * scanopt.c: Fixed minor typo in error message + +2002-04-12 12:23 Will Estes + + * tests/: test-header-nr/Makefile.am, test-header-r/Makefile.am, + test-multiple-scanners-nr/Makefile.am, + test-multiple-scanners-r/Makefile.am, test-pthread/Makefile.am, + test-string-nr/Makefile.am, test-string-r/Makefile.am, + test-yyextra/Makefile.am: removed eroneous files listed in + EXTRA_DIST + +2002-04-12 12:09 Will Estes + + * tests/test-yyextra/.cvsignore: ignore Makefile.in + +2002-04-12 12:09 Will Estes + + * tests/test-string-r/.cvsignore: it's Makefile.in, not makefile.in + +2002-04-12 12:02 Will Estes + + * tests/test-yyextra/: Makefile.am, Makefile.in: put test-yyextra + under automake + +2002-04-12 11:52 Will Estes + + * tests/test-string-r/: Makefile.am, Makefile.in: put test-string-r + under automake + +2002-04-12 11:50 Will Estes + + * tests/: test-string-nr/.cvsignore, test-string-r/.cvsignore: we + can ignore Makefile.in + +2002-04-12 11:49 Will Estes + + * tests/test-string-nr/: Makefile.am, Makefile.in: put + test-string-nr under automake + +2002-04-12 11:40 Will Estes + + * tests/test-pthread/.cvsignore: ignore Makefile.in + +2002-04-12 11:37 Will Estes + + * tests/test-pthread/: Makefile.am, Makefile.in: put test-pthread + under automake + +2002-04-12 11:24 Will Estes + + * tests/test-prefix-r/.cvsignore: we can ignore Makefile.in + +2002-04-12 11:23 Will Estes + + * tests/test-prefix-r/: Makefile.am, Makefile.in: put test-prefix-r + under automake + +2002-04-12 11:20 Will Estes + + * tests/test-prefix-nr/.cvsignore: we can ignore Makefile.in + +2002-04-12 11:19 Will Estes + + * tests/test-prefix-nr/: Makefile.am, Makefile.in: put + test-prefix-nr under automake + +2002-04-12 08:03 Will Estes + + * tests/test-multiple-scanners-r/.cvsignore: we can ignore + Makefile.in now + +2002-04-12 08:02 Will Estes + + * tests/test-multiple-scanners-r/: Makefile.am, Makefile.in: put + test-multiple-scanners-r under automake + +2002-04-12 07:59 Will Estes + + * tests/test-multiple-scanners-nr/.cvsignore: we can ignore + Makefile.in now + +2002-04-12 07:59 Will Estes + + * tests/test-multiple-scanners-nr/: Makefile.am, Makefile.in: put + test-multiple-scanners-nr under automake + +2002-04-11 07:44 Will Estes + + * tests/: test-c-cpp-nr/Makefile.am, test-c-cpp-r/Makefile.am: we + didn't need parser.y + +2002-04-11 07:43 Will Estes + + * TODO: work done on the test suite; remove relevant entries from + TODO + +2002-04-10 13:06 Will Estes + + * tests/test-include-by-reentrant/: .cvsignore, Makefile.am, + Makefile.in: put test-include-by-reentrant under automake + +2002-04-09 09:52 Will Estes + + * tests/test-include-by-buffer/.cvsignore: we have a Makefile.in + which we need to ignore + +2002-04-09 09:33 Will Estes + + * tests/test-include-by-buffer/: Makefile.am, Makefile.in: + test-include-by-buffer now under automake control + +2002-04-09 09:32 Will Estes + + * tests/TEMPLATE/Makefile.am: and we want LFLAGS in the rule to + make scanner.c as well + +2002-04-09 09:13 Will Estes + + * tests/test-header-r/: .cvsignore, Makefile.am, Makefile.in: put + test-header-r under automake + +2002-04-09 09:12 Will Estes + + * tests/test-header-nr/.cvsignore: we now generate a Makefile.in + from automake; cvs should ignore it + +2002-04-09 09:12 Will Estes + + * tests/test-header-nr/Makefile.am: add dependencies for main.o and + scaner.h + +2002-04-09 09:11 Will Estes + + * tests/TEMPLATE/Makefile.am: We may want to have LFLAGS readily + available + +2002-04-09 08:48 Will Estes + + * tests/test-header-nr/: Makefile.am, Makefile.in: put + test-header-nr under automake + +2002-04-09 08:47 Will Estes + + * tests/TEMPLATE/Makefile.am: oops, we need to clean objects too + +2002-04-09 08:35 Will Estes + + * tests/: TEMPLATE/Makefile.am, test-array-nr/Makefile.am, + test-array-r/Makefile.am, test-basic-nr/Makefile.am, + test-basic-r/Makefile.am, test-bison-yylloc/Makefile.am, + test-bison-yylval/Makefile.am, test-c-cpp-nr/Makefile.am, + test-c-cpp-r/Makefile.am: now that config.h lives in the top-level + directory, we need to tell the testsuite + +2002-04-08 11:06 Will Estes + + * tests/: test-array-nr/.cvsignore, test-array-r/.cvsignore, + test-basic-nr/.cvsignore, test-basic-r/.cvsignore, + test-bison-yylval/.cvsignore, test-c-cpp-nr/.cvsignore, + test-c-cpp-r/.cvsignore: we can ignore some Makefile.in + +2002-04-08 11:00 Will Estes + + * configure.in, tests/TEMPLATE/Makefile.am: only one config file + header apparently; this will have consequences in the test suite + +2002-04-08 10:36 Will Estes + + * tests/test-bison-yylval/: Makefile.am, Makefile.in: adding + automake support + +2002-04-08 10:26 Will Estes + + * tests/test-bison-yylloc/: .cvsignore, Makefile.am: tuned + Makefile.am to build correctly; ignore Makefile.in now + +2002-04-08 09:22 Will Estes + + * tests/configure.in: test suite changes + +2002-04-08 09:16 Will Estes + + * tests/: TEMPLATE/.cvsignore, TEMPLATE/Makefile.am, + TEMPLATE/Makefile.in, test-array-nr/Makefile.am, + test-array-nr/Makefile.in, test-array-r/Makefile.am, + test-array-r/Makefile.in, test-basic-nr/Makefile.am, + test-basic-nr/Makefile.in, test-basic-r/Makefile.am, + test-basic-r/Makefile.in, test-bison-yylloc/Makefile.am, + test-bison-yylloc/Makefile.in, test-c-cpp-nr/Makefile.am, + test-c-cpp-nr/Makefile.in, test-c-cpp-r/Makefile.am, + test-c-cpp-r/Makefile.in: test suite changes + +2002-04-08 09:13 Will Estes + + * autogen.sh, configure.in, tests/.cvsignore, tests/Makefile.am, + tests/Makefile.in, tests/README, tests/configure.in, + tests/create-test, tests/create-test.pl: test suite changes + +2002-04-05 14:18 John Millaway + + * flex.texi: Corrected error in manual regarding return type for + yy_scan_{string,buffer,bytes}. + +2002-04-05 08:25 Will Estes + + * po/de.po: new german translations from the translation project + +2002-04-03 13:13 Will Estes + + * po/es.po: new spanish translations + +2002-04-01 11:47 Will Estes + + * Makefile.am: DIST_SUBDIRS: new variable. we can build flex with + SUBDIRS and then build the distribution using DIST_SUBDIRS + +2002-04-01 08:03 Will Estes + + * main.c: fix typo in comment + +2002-03-31 12:17 John Millaway + + * main.c: Documented the header file kludge, (in anticipation of + buffering Section 1.) + +2002-03-30 22:26 John Millaway + + * flex.texi: Created appendix "Makefiles and Flex" in the manual. + +2002-03-29 19:12 John Millaway + + * flex.texi: updating manual. + +2002-03-29 17:32 Will Estes + + * po/POTFILES.in: we want parse.y, not parse.c + +2002-03-29 16:37 John Millaway + + * flex.texi: Indexing the manual (75% done). + +2002-03-29 16:08 Will Estes + + * Makefile.am: unlisted intermediate flex/yacc-created files + +2002-03-29 15:59 Will Estes + + * TODO: millaway has done more work + +2002-03-29 15:03 Will Estes + + * Makefile.am, configure.in: ok, one last touch up; users most + likely wont have help2man so we need to insure that's ok + +2002-03-29 14:55 Will Estes + + * Makefile.am: fine tune flex.1 some more + +2002-03-29 14:36 Will Estes + + * Makefile.am, configure.in: generalize the manpage a bit and tell + autofoo about help2man + +2002-03-29 12:18 Will Estes + + * po/da.po: new danish from translation project robot + +2002-03-28 16:02 John Millaway + + * flex.texi: Indexing the manual -- it's only half done. + +2002-03-28 15:57 John Millaway + + * flex.texi: flex manual now uses automake's versioning info. + +2002-03-28 14:55 John Millaway + + * README.cvs-snapshot: Mentioned requirements for gettext and + help2man. + +2002-03-28 14:52 John Millaway + + * Makefile.am, main.c: Output of `flex --version` now matches GNU + coding standards. Makefile.am now uses `help2man` to generate + flex.1 + +2002-03-27 08:58 Will Estes + + * TODO: millaway has done a lot on the TODO list; remove those + items that he has take care of + +2002-03-27 08:45 Will Estes + + * README.cvs-snapshot: edited millaway's initial draft + +2002-03-26 20:09 John Millaway + + * README.cvs-snapshot: Created file. + +2002-03-26 19:28 John Millaway + + * flex.texi: Fixed case of node names in flex.texi. + +2002-03-24 16:08 Will Estes + + * TODO: lex- and yacc- generated files + +2002-03-24 14:25 Will Estes + + * po/fr.po: new french + +2002-03-18 08:27 Will Estes + + * NEWS: ending periods in news items removed; mention nounistd + options + +2002-03-18 08:00 Will Estes + + * po/sv.po: updated sweedish translations + +2002-03-18 08:00 Will Estes + + * po/de.po: german translation + +2002-03-18 02:50 John Millaway + + * flex.skl, flex.texi, main.c, options.c, options.h, scan.l: + Removed CFront 1.2 -specific code from skeleton, because CFront now + defines __cplusplus properly. Removed TurboC-specific code from + skeleton. Skeleton now includes proper C++ standard headers. + Relocated "unistd.h" code after user section 1 to allow user to + overrid it. New option "nounistd" to suppress unistd.h from being + included. + +2002-03-15 11:29 Will Estes + + * po/tr.po: new turkish translation + +2002-03-15 10:33 Will Estes + + * NEWS: mention included translations + +2002-03-15 10:32 Will Estes + + * TODO: we've done the gettext thing, but sometime we should get + 0.11.1 + +2002-03-15 10:30 Will Estes + + * po/ca.po: new catalan translation + +2002-03-14 18:23 John Millaway + + * flex.texi: Added section on format of comments. + +2002-03-14 17:18 John Millaway + + * flex.texi: Split format chapter into sections. + +2002-03-14 16:51 John Millaway + + * flex.texi: Removed explicit pointers in node definitions. + +2002-03-14 16:31 Will Estes + + * configure.in: unistd.h can be problematic + +2002-03-14 09:11 Will Estes + + * tests/README: editing changes to README + +2002-03-13 15:50 Will Estes + + * po/POTFILES.in: scan.l, not scan.c because gettext gets confused + +2002-03-13 12:36 Will Estes + + * scan.l: gettext cruft + +2002-03-13 10:57 Will Estes + + * tests/descriptions: separate out test descriptions + +2002-03-13 09:34 Will Estes + + * po/LINGUAS: french and korean dont crash now + +2002-03-12 16:40 Will Estes + + * po/: fr.po, ko.po: remove duplicate messages as per advice from + Jordi Mallach + +2002-03-12 14:21 Will Estes + + * gettext.h: yes, more gettext cruft + +2002-03-12 14:12 Will Estes + + * m4/codeset.m4, m4/gettext.m4, m4/glibc21.m4, m4/iconv.m4, + m4/isc-posix.m4, m4/lcmessage.m4, m4/lib-ld.m4, m4/lib-link.m4, + m4/lib-prefix.m4, m4/progtest.m4, ABOUT-NLS, config.rpath: this is + gettext cruft + +2002-03-12 13:58 Will Estes + + * NEWS: gettext and autofoo are now involved + +2002-03-12 13:29 Will Estes + + * Makefile.am, autogen.sh, configure.in, flexdef.h, main.c: mostly, + changes for gettext + +2002-03-12 13:29 Will Estes + + * po/: ca.po, da.po, es.po, ru.po, sv.po, tr.po: these sure change + a lot + +2002-03-12 13:28 Will Estes + + * TODO: note about cvs documentation + +2002-03-12 13:02 Will Estes + + * po/LINGUAS: we now have turkish + +2002-03-12 13:01 Will Estes + + * po/tr.po: updated translations, i think + +2002-03-12 12:42 Will Estes + + * po/: ca.po, da.po, es.po, fr.po, ko.po, ru.po, sv.po, tr.po: ok, + maybe we do keep these things? + +2002-03-12 12:26 Will Estes + + * README-alpha: README-alpha for those bad-hair days + +2002-03-12 12:18 Will Estes + + * m4/: .cvsignore, Makefile.am: ok,now we kinda have a m4/ subdir + for gettext + +2002-03-12 12:13 Will Estes + + * po/: .cvsignore, LINGUAS, Makevars, POTFILES.in, da.po, es.po, + fr.po, ko.po, ru.po, sv.po: now, we have a po/ subdirectory for + gettext. i hope you're happy + +2002-03-12 12:06 Will Estes + + * po/ca.po: removing po files, maybe + +2002-03-12 12:01 Will Estes + + * tests/.cvsignore: ignore autom4te.cache + +2002-03-11 09:27 Will Estes + + * po/: ca.po, da.po, es.po, fr.po, ko.po, ru.po, sv.po: po files + from debian + +2002-03-08 10:00 Will Estes + + * TODO: add several notes about tasks which need doing; create a + new top-level entry for generic coding concerns (this is distinct + from specific API or other such issues) + +2002-03-06 16:15 Will Estes + + * README: eliminate to.do and faqs from the README file + +2002-03-06 16:13 Will Estes + + * TODO: more notes on tests/ + +2002-03-06 11:32 Will Estes + + * Makefile.am: remove subdirectories from EXTRA_DIST; add a SUBDIRS + macro to handle examples/; clean up the dist-hook target + +2002-03-06 11:32 Will Estes + + * configure.in: we want to generate Makefiles in some more + subdirectories; automake will like this + +2002-03-06 11:26 Will Estes + + * TODO: notes on subdirectories + +2002-03-05 09:49 Will Estes + + * examples/: .cvsignore, Makefile.am: now examples/ fits into + automake + +2002-03-05 09:48 Will Estes + + * examples/fastwc/: .cvsignore, Makefile.am: examples/fastwc now + fits into automake + +2002-03-05 09:47 Will Estes + + * examples/manual/: .cvsignore, Makefile.am, Makefile.examples, + README: examples/manual directory now fits into automake + +2002-03-05 09:45 Will Estes + + * examples/manual/Makefile: renamed Makefile to Makefile.examples + for automake's sake + +2002-03-04 10:58 Will Estes + + * Makefile.am: add parse.c and scan.c to built_sources + +2002-02-24 17:19 John Millaway + + * Makefile.am: Removed CVS-specific code from 'dist-hook' target so + anybody with a copy of the tree can build a dist. + +2002-02-22 17:50 John Millaway + + * tests/Makefile.in: Converted test script to portable /bin/sh. + +2002-02-22 17:47 John Millaway + + * tests/test-bison-yylloc/Makefile.in: Added some spaces in shell + scripts for portability. + +2002-02-22 16:59 John Millaway + + * tests/create-test.pl: Fixed #! line for portability. + +2002-02-22 16:58 John Millaway + + * tests/test-bison-yylloc/Makefile.in: Fixed return status code on + bison-lloc test. + +2002-02-21 00:40 John Millaway + + * tests/create-test.pl: Added script to auto-create tests. Probably + overkill. + +2002-02-21 00:16 John Millaway + + * flex.skl: Fixed C++ #ifdef problem. Removed mistyped __CPLUSPLUS + macro. Removed THROW_NIL. Not sure where it came from in the first + place. + +2002-02-21 00:12 John Millaway + + * tests/: README, configure.in, TEMPLATE/Makefile.in, + test-c-cpp-nr/.cvsignore, test-c-cpp-nr/Makefile.in, + test-c-cpp-nr/scanner.l, test-c-cpp-nr/test.input, + test-c-cpp-r/.cvsignore, test-c-cpp-r/Makefile.in, + test-c-cpp-r/scanner.l, test-c-cpp-r/test.input: Added + test-c-cpp-nr and test-c-cpp-r. + +2002-02-16 15:26 John Millaway + + * flex.skl: Added missing #endif. + +2002-02-07 10:19 Will Estes + + * tests/: TEMPLATE/.cvsignore, test-array-nr/.cvsignore, + test-array-r/.cvsignore, test-basic-nr/.cvsignore, + test-basic-r/.cvsignore, test-bison-yylloc/.cvsignore, + test-bison-yylval/.cvsignore, test-header-nr/.cvsignore, + test-header-r/.cvsignore, test-include-by-buffer/.cvsignore, + test-include-by-reentrant/.cvsignore, + test-multiple-scanners-nr/.cvsignore, + test-multiple-scanners-r/.cvsignore, test-prefix-nr/.cvsignore, + test-prefix-r/.cvsignore, test-pthread/.cvsignore, + test-string-nr/.cvsignore, test-string-r/.cvsignore, + test-yyextra/.cvsignore: add OUTPUT to .cvsignore files in test + directories; it's also in the template directory + +2002-02-06 18:30 Will Estes + + * gen.c: fix interrupted reads and freads; from the debian package + maintainer + +2002-02-06 16:41 Will Estes + + * flex.texi, flexdef.h, main.c, nfa.c: support large flex tables; + from debian package maintainer + +2002-01-29 08:48 Will Estes + + * tests/configure.in: add more output files to account for new + tests + +2002-01-03 15:19 Will Estes + + * tests/test-array-nr/: .cvsignore, Makefile.in, scanner.l, + test.input: add this test + +2002-01-03 15:17 Will Estes + + * tests/test-array-r/: .cvsignore, Makefile.in, scanner.l, + test.input: add this test suite + +2001-11-20 14:58 Will Estes + + * flex.skl, main.c: millaway: Fixed yytext_ptr when using %array in + reentrant scanner + +2001-11-20 14:48 Will Estes + + * buf.c: oops, forgot this one line + +2001-11-19 01:39 John Millaway + + * tests/: test-array-nr/.cvsignore, test-array-r/.cvsignore: file + .cvsignore was initially added on branch flex-2-5-6-branch. + +2001-11-19 01:39 John Millaway + + * tests/: test-array-nr/Makefile.in, test-array-r/Makefile.in: file + Makefile.in was initially added on branch flex-2-5-6-branch. + +2001-11-19 01:39 John Millaway + + * tests/: test-array-nr/scanner.l, test-array-r/scanner.l: file + scanner.l was initially added on branch flex-2-5-6-branch. + +2001-11-19 01:39 John Millaway + + * tests/: test-array-nr/test.input, test-array-r/test.input: file + test.input was initially added on branch flex-2-5-6-branch. + +2001-11-14 18:09 Will Estes + + * tests/test-header-r/: .cvsignore, Makefile.in, main.c, scanner.l, + test.input: and more fallout + +2001-11-14 16:13 Will Estes + + * TODO, flex.skl, flex.texi, flexdef.h, main.c, misc.c, + tests/README, tests/configure.in, tests/TEMPLATE/Makefile.in, + tests/test-basic-r/scanner.l, tests/test-bison-yylloc/.cvsignore, + tests/test-bison-yylloc/Makefile.in, + tests/test-bison-yylloc/parser.y, + tests/test-bison-yylloc/scanner.l, + tests/test-bison-yylval/.cvsignore, + tests/test-bison-yylval/Makefile.in, + tests/test-bison-yylval/parser.y, + tests/test-bison-yylval/scanner.l, + tests/test-include-by-reentrant/scanner.l, + tests/test-prefix-r/scanner.l, tests/test-pthread/scanner.l, + tests/test-string-r/scanner.l, tests/test-yyextra/scanner.l: more + from the same batch + +2001-11-14 16:12 Will Estes + + * tests/: test-bison-yylloc/main.c, test-bison-yylval/main.c, + test-header-nr/.cvsignore, test-header-nr/Makefile.in, + test-header-nr/main.c, test-header-nr/scanner.l, + test-header-nr/test.input, test-multiple-scanners-nr/.cvsignore, + test-multiple-scanners-nr/Makefile.in, + test-multiple-scanners-nr/main.c, + test-multiple-scanners-nr/scanner-1.l, + test-multiple-scanners-nr/scanner-2.l, + test-multiple-scanners-r/.cvsignore, + test-multiple-scanners-r/Makefile.in, + test-multiple-scanners-r/main.c, + test-multiple-scanners-r/scanner-1.l, + test-multiple-scanners-r/scanner-2.l: a big batch from millaway + +2001-10-28 01:49 John Millaway + + * tests/: test-bison-yylloc/main.c, test-bison-yylval/main.c: file + main.c was initially added on branch flex-2-5-6-branch. + +2001-10-26 23:59 John Millaway + + * tests/: test-multiple-scanners-nr/.cvsignore, + test-multiple-scanners-r/.cvsignore: file .cvsignore was initially + added on branch flex-2-5-6-branch. + +2001-10-26 23:59 John Millaway + + * tests/: test-multiple-scanners-nr/Makefile.in, + test-multiple-scanners-r/Makefile.in: file Makefile.in was + initially added on branch flex-2-5-6-branch. + +2001-10-26 23:59 John Millaway + + * tests/: test-multiple-scanners-nr/main.c, + test-multiple-scanners-r/main.c: file main.c was initially added on + branch flex-2-5-6-branch. + +2001-10-26 23:59 John Millaway + + * tests/: test-multiple-scanners-nr/scanner-1.l, + test-multiple-scanners-r/scanner-1.l: file scanner-1.l was + initially added on branch flex-2-5-6-branch. + +2001-10-26 23:59 John Millaway + + * tests/: test-multiple-scanners-nr/scanner-2.l, + test-multiple-scanners-r/scanner-2.l: file scanner-2.l was + initially added on branch flex-2-5-6-branch. + +2001-10-26 10:30 Will Estes + + * NEWS: now NEWS has forgotten about the _r variables + +2001-10-26 08:59 Will Estes + + * flex.skl, flex.texi, gen.c, main.c, + tests/test-bison-yylloc/scanner.l, + tests/test-bison-yylval/scanner.l, + tests/test-include-by-reentrant/scanner.l, + tests/test-prefix-nr/scanner.l, tests/test-pthread/scanner.l, + tests/test-string-r/scanner.l, tests/test-yyextra/scanner.l: + millaway simplified the reentrant api; here's the result + +2001-10-23 17:07 Will Estes + + * main.c, options.c, options.h: more from millaway + +2001-10-22 10:37 Will Estes + + * main.c, options.c, options.h: the last checkin was broken; + millaway fixed it + +2001-10-22 09:42 Will Estes + + * flex.texi, flex.skl, gen.c, main.c, misc.c, options.h, scan.l, + scanopt.c, tests/README, tests/configure.in: phew, millaway's + latest batch + +2001-10-21 13:24 Will Estes + + * flex.skl: flex.skl should come up in C mode + +2001-10-21 13:23 Will Estes + + * flex.skl: apparently, isatty and c++ need help getting along + (from octave) + +2001-10-19 18:56 John Millaway + + * tests/: test-header-nr/.cvsignore, test-header-r/.cvsignore: file + .cvsignore was initially added on branch flex-2-5-6-branch. + +2001-10-19 18:56 John Millaway + + * tests/: test-header-nr/Makefile.in, test-header-r/Makefile.in: + file Makefile.in was initially added on branch flex-2-5-6-branch. + +2001-10-19 18:56 John Millaway + + * tests/: test-header-nr/main.c, test-header-r/main.c: file main.c + was initially added on branch flex-2-5-6-branch. + +2001-10-19 18:56 John Millaway + + * tests/: test-header-nr/scanner.l, test-header-r/scanner.l: file + scanner.l was initially added on branch flex-2-5-6-branch. + +2001-10-19 18:56 John Millaway + + * tests/: test-header-nr/test.input, test-header-r/test.input: file + test.input was initially added on branch flex-2-5-6-branch. + +2001-10-19 17:13 Will Estes + + * NEWS: document new options and new option handling + +2001-10-19 16:58 Will Estes + + * TODO: tell emacs that TODO is a text/outline mode file + +2001-10-19 16:55 Will Estes + + * TODO: we have new long options; we need to document that + +2001-10-19 16:36 Will Estes + + * NEWS: tell emacs that NEWS is text/outline mode + +2001-10-19 14:04 Will Estes + + * flex.skl: oops, lost a line somewhere in the merge process on + millaway's work + +2001-10-17 10:29 Will Estes + + * Makefile.am, buf.c, flex.skl, flex.texi, flexdef.h, main.c, + misc.c, options.c, options.h, parse.y, scan.l, scanopt.c, + scanopt.h: merge latest batch of millaway's changes + +2001-10-15 13:26 John Millaway + + * buf.c: file buf.c was initially added on branch + flex-2-5-6-branch. + +2001-10-12 20:44 John Millaway + + * options.c: file options.c was initially added on branch + flex-2-5-6-branch. + +2001-10-12 20:44 John Millaway + + * options.h: file options.h was initially added on branch + flex-2-5-6-branch. + +2001-10-12 20:44 John Millaway + + * scanopt.c: file scanopt.c was initially added on branch + flex-2-5-6-branch. + +2001-10-12 20:44 John Millaway + + * scanopt.h: file scanopt.h was initially added on branch + flex-2-5-6-branch. + +2001-09-22 13:50 Will Estes + + * main.c: Fixed typo in options display + +2001-09-20 15:27 Will Estes + + * main.c: reentrant and non-reentrant scanners share the same + yywrap MACRO. millaway + +2001-09-20 12:32 Will Estes + + * TODO: clarify item on comments in lexical files + +2001-09-20 12:29 Will Estes + + * NEWS, scan.l: now flex recognizes \r as an eol character + +2001-09-20 10:55 Will Estes + + * Makefile.am: specify cvsroot so automake distcheck works + +2001-09-19 16:39 Will Estes + + * flex.texi: tex has lost its mind; we remove parentheses to + compensate + +2001-09-19 15:42 Will Estes + + * NEWS: now that c++ is better supported, let's mention it as a + news item + +2001-09-19 15:37 Will Estes + + * flex.skl, main.c, examples/fastwc/wc1.l, examples/fastwc/wc2.l, + examples/fastwc/wc3.l, examples/fastwc/wc4.l, + examples/fastwc/wc5.l: commit the backwash from the branch merges + +2001-09-19 15:19 Will Estes + + * FlexLexer.h, flex.skl, examples/testxxLexer.l: made preliminary + c++ fixes; the intent is to make it work with recent c++ compilers + +2001-08-26 12:14 Will Estes + + * main.c: remove argv_fixup; fix typo in error message; changes + from millaway's branch + +2001-08-24 11:54 Will Estes + + * NEWS: mention no more c++ comments in c scanners + +2001-08-21 13:47 John Millaway + + * flex.skl: Changed // comments to /* */ comments in skeleton. + +2001-08-19 16:34 John Millaway + + * flex.texi: Changed @var to @code everywhere. + +2001-08-16 14:19 Will Estes + + * to.do/flex.rmail: more mail + +2001-08-16 11:03 Will Estes + + * TODO: the manual now has its own section; we're not adding + comments either + +2001-08-03 21:14 John Millaway + + * tests/: Makefile.in, README, TEMPLATE/Makefile.in, + test-basic-nr/Makefile.in, test-basic-r/Makefile.in, + test-bison-yylloc/Makefile.in, test-bison-yylval/Makefile.in, + test-include-by-buffer/Makefile.in, + test-include-by-reentrant/Makefile.in, test-prefix-nr/Makefile.in, + test-prefix-r/Makefile.in, test-pthread/Makefile.in, + test-string-nr/Makefile.in, test-string-r/Makefile.in, + test-yyextra/Makefile.in: Cleaned up the output of the tests. + +2001-08-03 16:43 Will Estes + + * TODO: note jason's thoughts on having a manpage + +2001-08-03 16:41 Will Estes + + * TODO: note millaway's assignment and tests to be under flex + license + +2001-08-01 17:14 John Millaway + + * tests/test-bison-yylval/scanner.l: Fixed semantics of test (the + success or failure of this test should be unaffected by this + change.) + +2001-08-01 16:13 Will Estes + + * autogen.sh: fake automake into believing that ChangeLog already + exists + +2001-08-01 16:06 Will Estes + + * Makefile.am: millaway needs to be covered in the ChangeLog + +2001-08-01 15:41 Will Estes + + * version.h: automake is supplying version info now so we just pick + it up + +2001-08-01 15:40 Will Estes + + * flex.texi: forgot braces on @copyright + +2001-08-01 15:40 John Millaway + + * flex.skl: Added missing argument to yy_flex_free. + +2001-08-01 10:05 Will Estes + + * AUTHORS: john millaway wrote the reentrant C support + +2001-08-01 10:05 Will Estes + + * flex.texi: add license node to the manual + +2001-08-01 09:48 Will Estes + + * TODO: c++ ideas + +2001-07-31 17:31 Will Estes + + * parse.y: error messages will now show up the way that emacs likes + them + +2001-07-31 15:56 Will Estes + + * Makefile.am: oops, left in an extra backslash + +2001-07-31 15:05 Will Estes + + * TODO: flex.texi is here; clarify tests/ rewrite issue + +2001-07-31 15:04 Will Estes + + * NEWS: hey, we have texinfo, not man + +2001-07-31 15:03 Will Estes + + * flex.1: no more manpage + +2001-07-31 15:01 Will Estes + + * Makefile.am: remove flex.1 and rewrite the dist-hook so that we + pick up a couple more directories + +2001-07-31 14:15 Will Estes + + * flex.texi: the namual now compiles; hurray + +2001-07-31 06:13 Will Estes + + * Makefile.am: first attempt at including the tests/ directory via + automake, dist-hook target added + +2001-07-31 06:12 Will Estes + + * tests/.cvsignore: ignore config.cache in tests/ directory + +2001-07-31 05:46 Will Estes + + * Makefile.am: automake groks the ChangeLog now so we don't have to + remind the maintainer to remake it + +2001-07-30 17:06 Will Estes + + * flex.texi: more corrections to the manual; the end is in site + +2001-07-30 17:06 Will Estes + + * TODO: auto-generated backup? + +2001-07-27 17:12 Will Estes + + * flex.texi: today's tinkering on the manual + +2001-07-27 10:50 Will Estes + + * Makefile.am: if we want flex.1 we have to say so in EXTRA_DIST + +2001-07-27 10:49 Will Estes + + * TODO: note future issues with flex.texi + +2001-07-27 10:34 Will Estes + + * Makefile.am: include flex.1 as it's the only working + documentation for now + +2001-07-27 10:32 Will Estes + + * Makefile.am: rearrange to work with automake on building the + ChangeLog + +2001-07-27 09:33 Will Estes + + * scan.l: automake is unhappy if we specify the outfile + +2001-07-26 17:18 Will Estes + + * flex.texi: more conversions/corrections + +2001-07-26 10:04 Will Estes + + * README: we removed misc/ so we don't mention it any more + +2001-07-25 16:26 Will Estes + + * flex.texi: begin the manual conversion to texinfo; yes, it's + broken right now + +2001-07-25 16:25 Will Estes + + * AUTHORS, THANKS: copy in manual author and thanks info + +2001-07-25 10:46 Will Estes + + * Makefile.am: how to fake the ChangeLog into showing up in the + distribution + +2001-07-25 09:07 Will Estes + + * Makefile.am: add YFLAGS so parse.h gets made + +2001-07-24 16:23 Will Estes + + * examples/fastwc/: README, mywc.c, wc1.l, wc2.l, wc3.l, wc4.l, + wc5.l: re-add these files + +2001-07-24 15:11 Will Estes + + * TODO: reflect recent doings + +2001-07-24 15:07 Will Estes + + * Makefile.in: what with automake, we don't need Makefile.in any + more + +2001-07-24 15:06 Will Estes + + * configure.in: more rearranging for automake + +2001-07-24 15:04 Will Estes + + * to.do/flex.rmail: more mail came in + +2001-07-24 12:44 Will Estes + + * autogen.sh: adjust to automake's idea of the world + +2001-07-24 12:43 Will Estes + + * Makefile.am: add Vern's misc dependencies; noinst_SCRIPTS was + broken?; list a few last files to be included in the distribution + +2001-07-24 10:48 Will Estes + + * NEWS: rearrange for better order; add automake support as a news + item + +2001-07-24 10:38 Will Estes + + * Makefile.am: copyright notice on Makefile.am; document some -D + switches (are they still usable?) + +2001-07-24 10:37 Will Estes + + * TODO: add lex-replacement issue + +2001-07-24 06:13 Will Estes + + * Makefile.am: add EXTRA_DIST + +2001-07-23 17:49 Will Estes + + * autogen.sh: we need to do the same thing in each directory + +2001-07-23 17:25 Will Estes + + * configure.in: introduce automake into the macro calls + +2001-07-23 17:06 Will Estes + + * Makefile.am: add AUTOMAKE_OPTIONS, info_TEXINFOS, + include_HEADERS, noinst_HEADERS; it's libfl.a, not libflex.a + +2001-07-23 16:16 Will Estes + + * Makefile.am: bin_PROGRAMS and lib_LIBRARIES + +2001-07-23 15:32 Will Estes + + * to.do/streams.mail: streams.mail has moved here + +2001-07-23 15:12 Will Estes + + * TODO: add xref for teximanual + +2001-07-19 10:27 Will Estes + + * flex.1: include typo/punctuation fixes from a patch submitted by + noon@cote-dazur.com (Fabrice Bauzac) + +2001-07-17 14:40 Will Estes + + * TODO: we want gettext + +2001-06-24 19:45 Will Estes + + * flex.skl: include c++ STD fixes from quanstro@quanstro.net + +2001-06-24 18:33 Will Estes + + * flex.skl, gen.c: change some int types to size_t as per FreeBSD + 28364 from avn@any.ru + +2001-06-24 18:31 Will Estes + + * TODO: remove parse.[ch] from make clean target; repackage + distribution (not rework) + +2001-06-19 08:44 Will Estes + + * TODO: add memory api and reworking of flex.skl reworking + +2001-06-18 13:18 Will Estes + + * flex.skl: remove extraneous notice from flex.skl + +2001-06-18 08:49 Will Estes + + * flex.skl: patch memory leak as per millaway + +2001-06-17 15:23 Will Estes + + * to.do/flex.rmail: add vern's ok for copyright/license changes and + john's answer on line offsets + +2001-06-17 15:18 Will Estes + + * TODO: remove creation of .cvsignore files (it's done); add other + notes about the test suite + +2001-06-17 15:16 Will Estes + + * tests/: TEMPLATE/.cvsignore, test-basic-nr/.cvsignore, + test-basic-r/.cvsignore, test-bison-yylloc/.cvsignore, + test-bison-yylval/.cvsignore, test-include-by-buffer/.cvsignore, + test-include-by-reentrant/.cvsignore, test-prefix-nr/.cvsignore, + test-prefix-r/.cvsignore, test-pthread/.cvsignore, + test-string-nr/.cvsignore, test-string-r/.cvsignore, + test-yyextra/.cvsignore: adding .cvsignore files for existing + tests/ subdirectories + +2001-06-17 15:12 Will Estes + + * tests/README: reformat, say to add a description to this file and + mention what to do re .cvsignore + +2001-06-17 15:09 Will Estes + + * tests/TEMPLATE/cvsignore: create template for .cvsignore + +2001-06-17 14:59 Will Estes + + * TODO: reorganize for logical reasons; test suite now seems to run + out of the box + +2001-06-17 14:28 Will Estes + + * tests/.cvsignore: we dont want the Makefile either + +2001-06-17 13:40 Will Estes + + * tests/test-prefix-nr/test.input: test.input was supposed to be + here + +2001-06-17 13:36 Will Estes + + * tests/test-prefix-r/test.input: test.input was supposed to be + here + +2001-06-17 13:18 Will Estes + + * tests/.cvsignore: add autoconf legacy files to be ignored + +2001-06-17 13:11 Will Estes + + * autogen.sh: clarify usage instructions; prepare tests/ as well + +2001-06-17 13:07 Will Estes + + * tests/.cvsignore: . cvsignore for tests/ subdirectory + +2001-06-17 13:01 Will Estes + + * FlexLexer.h: tell emacs that FlexLexer.h is c++ + +2001-06-17 13:00 Will Estes + + * scan.l: tell emacs scan.l is in C mode + +2001-06-17 12:59 Will Estes + + * flex.skl: added punctuation + +2001-06-17 12:17 Will Estes + + * FlexLexer.h, Makefile.in, README, RoadMap, autogen.sh, ccl.c, + configure.in, dfa.c, ecs.c, flex.1, flex.skl, flexdef.h, gen.c, + libmain.c, libyywrap.c, main.c, misc.c, mkskel.sh, nfa.c, parse.y, + scan.l, sym.c, tblcmp.c, yylex.c: change copyright/license notices + as per Vern's response to Theo + +2001-06-15 16:22 Will Estes + + * to.do/flex.rmail: add bill fenlason's emails + +2001-06-15 16:21 Will Estes + + * COPYING: make changes as per Theo De Raadt; remove tabs + +2001-06-08 08:42 Will Estes + + * flex.skl: save errno as per Theo de Raadt + +2001-06-07 08:44 Will Estes + + * flex.1: correct hyphenation as per openbsd tree + +2001-06-05 16:39 Will Estes + + * Makefile.in, configure.in: change references to TESTS/ to tests/ + to account for the directory name changes + +2001-05-27 15:22 Will Estes + + * flex.skl, gen.c: commit john millaway's YY_G wrapper corrections + +2001-05-21 17:44 Will Estes + + * tests/Makefile.in: remove || exit calls + +2001-05-21 15:50 Will Estes + + * gen.c: complete john millaway's reentrant patch + +2001-05-21 13:23 Will Estes + + * to.do/flex.rmail: more flex messages in the queue + +2001-05-18 17:25 Will Estes + + * flex.skl, flexdef.h, gen.c, main.c, nfa.c, scan.l: john + millaway's reentrancy patch + +2001-05-18 16:30 Will Estes + + * tests/Makefile.in: remove || exit from testing loop + +2001-05-18 16:27 Will Estes + + * Makefile.in: tell make about the tests directory and its + associated targets + +2001-05-18 16:26 Will Estes + + * TODO: rethink the todo list + +2001-05-18 16:13 Will Estes + + * flex.1: describe reentrant api changes + +2001-05-18 16:10 Will Estes + + * TODO: mention work needed for tests/ + +2001-05-18 16:09 Will Estes + + * configure.in: tell auto* about the test directory + +2001-05-18 16:04 Will Estes + + * README: make punctuation uniform, mention the new tests/ + directory + +2001-05-18 16:02 Will Estes + + * NEWS: reformat items; cut out old items and move them to ONEWS + +2001-05-18 16:01 Will Estes + + * ONEWS: move old NEWS items to ONEWS + +2001-05-18 13:22 Will Estes + + * tests/: Makefile.in, README, configure.in, TEMPLATE/Makefile.in, + TEMPLATE/parser.y, TEMPLATE/scanner.l, TEMPLATE/test.input, + test-basic-nr/Makefile.in, test-basic-nr/scanner.l, + test-basic-nr/test.input, test-basic-r/Makefile.in, + test-basic-r/scanner.l, test-basic-r/test.input, + test-bison-yylloc/Makefile.in, test-bison-yylloc/parser.y, + test-bison-yylloc/scanner.l, test-bison-yylloc/test.input, + test-bison-yylval/Makefile.in, test-bison-yylval/parser.y, + test-bison-yylval/scanner.l, test-bison-yylval/test.input, + test-include-by-buffer/Makefile.in, + test-include-by-buffer/scanner.l, + test-include-by-buffer/test-1.input, + test-include-by-buffer/test-2.input, + test-include-by-buffer/test-3.input, + test-include-by-reentrant/Makefile.in, + test-include-by-reentrant/scanner.l, + test-include-by-reentrant/test-1.input, + test-include-by-reentrant/test-2.input, + test-include-by-reentrant/test-3.input, test-prefix-nr/Makefile.in, + test-prefix-nr/README, test-prefix-nr/scanner.l, + test-prefix-r/Makefile.in, test-prefix-r/README, + test-prefix-r/scanner.l, test-pthread/Makefile.in, + test-pthread/scanner.l, test-pthread/test-1.input, + test-pthread/test-2.input, test-pthread/test-3.input, + test-pthread/test-4.input, test-pthread/test-5.input, + test-string-nr/Makefile.in, test-string-nr/scanner.l, + test-string-r/Makefile.in, test-string-r/scanner.l, + test-yyextra/Makefile.in, test-yyextra/scanner.l, + test-yyextra/test.input: add john millaway's test directory + +2001-05-04 16:04 Will Estes + + * to.do/flex.rmail: more mail in flex.rmail + +2001-05-03 15:05 Will Estes + + * FlexLexer.h, ccl.c, dfa.c, ecs.c, flex.skl, flexdef.h, gen.c, + libmain.c, libyywrap.c, main.c, misc.c, nfa.c, parse.y, scan.l, + sym.c, tblcmp.c, yylex.c: remove extraneous rcs keywords + +2001-05-03 14:54 Will Estes + + * README: mention RoadMap + +2001-05-01 16:47 Will Estes + + * examples/README, examples/debflex.awk, examples/testxxLexer.l, + examples/manual/ChangeLog, examples/manual/Makefile, + examples/manual/README, examples/manual/cat.lex, + examples/manual/dates.lex, examples/manual/datetest.dat, + examples/manual/eof_rules.lex, examples/manual/eof_test01.txt, + examples/manual/eof_test02.txt, examples/manual/eof_test03.txt, + examples/manual/expr.lex, examples/manual/expr.y, + examples/manual/front.lex, examples/manual/front.y, + examples/manual/j2t.lex, examples/manual/myname.lex, + examples/manual/myname.txt, examples/manual/myname2.lex, + examples/manual/numbers.lex, examples/manual/pas_include.lex, + examples/manual/pascal.lex, examples/manual/reject.lex, + examples/manual/replace.lex, examples/manual/string1.lex, + examples/manual/string2.lex, examples/manual/strtest.dat, + examples/manual/unput.lex, examples/manual/user_act.lex, + examples/manual/userinit.lex, examples/manual/wc.lex, + examples/manual/yymore.lex, examples/manual/yymore2.lex, + examples/manual/yymoretest.dat, to.do/README, to.do/Wilhelms.todo, + to.do/Wish-List, to.do/flex.rmail, to.do/unicode/FlexLexer.h, + to.do/unicode/ccl.c, to.do/unicode/changes.txt, + to.do/unicode/ecs.c, to.do/unicode/flex.1, to.do/unicode/flex.skl, + to.do/unicode/flexdef.h, to.do/unicode/gen.c, to.do/unicode/main.c, + to.do/unicode/misc.c, to.do/unicode/scan.l, to.do/unicode/tblcmp.c: + adding the rest of vern's files + +2001-05-01 16:36 Will Estes + + * README: mention misc/ directory + +2001-05-01 16:32 Will Estes + + * version.h: version is 2.5.5b + +2001-05-01 16:30 Will Estes + + * Makefile.in: remove header from top; add rule to generate + initscan.c just in case + +2001-05-01 16:28 Will Estes + + * configure.in: dont check for initscan.c; check for scan.l instead + +2001-05-01 15:12 Will Estes + + * RoadMap: list of source files + +2001-05-01 15:10 Will Estes + + * README: rewrite README to reflect changes in layout of + directories + +2001-05-01 15:08 Will Estes + + * AUTHORS, THANKS, TODO: initial attempt at the files + +2001-05-01 14:03 Will Estes + + * COPYING: add 2001 copyright notice + +2001-05-01 13:38 Will Estes + + * autogen.sh: initial attempt at a bootstrap script for developers + +2001-05-01 13:21 Will Estes + + * flex.texi: texinfo manual, old contributed version + +2000-08-21 12:39 Vern Paxson + + * flex.1: fixed some bugs in examples of [[:...:]] ccls + +2000-08-21 12:39 Vern Paxson + + * version.h: version shipped to Dick King + +2000-08-21 12:39 Vern Paxson + + * flex.skl: explicit include of iostream.h + +2000-08-21 12:38 Vern Paxson + + * scan.l: if a newline is seen in , assume it + terminates the string. + +2000-08-21 12:38 Vern Paxson + + * flexdef.h, sym.c: moved symbol table definitions from flexdef.h + into sym.c + +2000-08-21 12:37 Vern Paxson + + * dfa.c: fixed underallocation for accset + +1997-06-27 15:36 Vern Paxson + + * COPYING: revised for rms + +1997-06-23 15:48 Vern Paxson + + * flex.skl: fixed memory leak + +1997-06-23 15:48 Vern Paxson + + * flex.1: input() doesn't destroy yytext + +1997-06-23 15:48 Vern Paxson + + * FlexLexer.h: wrapped with extern "C++" + +1996-12-13 06:22 Vern Paxson + + * flex.skl: use delete [] for yy_state_buf + +1996-10-29 09:43 Vern Paxson + + * flex.skl: fixed %option noinput + +1996-10-29 09:39 Vern Paxson + + * flex.skl: free(char*) fix ... Sigh ... + +1996-10-11 11:33 Vern Paxson + + * gen.c: bug fix for yymore()/yylineno interaction + +1996-10-11 11:13 Vern Paxson + + * gen.c: fixed memory leak + +1996-09-10 13:10 Vern Paxson + + * NEWS: release 2.5.4 + +1996-09-10 12:59 Vern Paxson + + * Makefile.in: more stuff for distclean + +1996-09-10 12:58 Vern Paxson + + * flex.skl: "str" -> "yy_str" + +1996-09-10 12:58 Vern Paxson + + * version.h: 2.5.4 + +1996-07-02 12:35 Vern Paxson + + * flex.skl: (attempted) fix for input() crossing a file boundary + +1996-05-29 08:25 Vern Paxson + + * NEWS: don't do Acorn diffs + +1996-05-29 08:15 Vern Paxson + + * NEWS: some minor additions for 2.5.3 + +1996-05-29 08:02 Vern Paxson + + * NEWS: 2.5.3 + +1996-05-29 07:59 Vern Paxson + + * version.h: 2.5.3 + +1996-05-25 17:02 Vern Paxson + + * flex.skl: initialize yy_more_offset etc. for yyFlexLexer class + +1996-05-25 16:54 Vern Paxson + + * flex.skl: niggling cosmetic tweak + +1996-05-25 16:44 Vern Paxson + + * flex.skl: bug fixes for yymore (especially with %array) + +1996-05-25 16:43 Vern Paxson + + * gen.c: yymore + %array tweaks + +1996-05-25 16:43 Vern Paxson + + * FlexLexer.h: added yy_{,prev_}more_offset + +1996-05-25 16:42 Vern Paxson + + * main.c: removed decl of unused library function + +1996-05-25 11:26 Vern Paxson + + * flex.skl: snapshot of cscope yymore fixes, prior to switching + yymore-on-%array approach + +1995-12-18 09:20 Vern Paxson + + * gen.c: don't stack states on NUL-transitions that are jams + +1995-09-27 08:47 Vern Paxson + + * libmain.c: fixed re Esmond Pitt's ancient suggestion + +1995-04-28 07:39 Vern Paxson + + * misc.c: ANSI C / Solaris tweak + +1995-04-24 09:26 Vern Paxson + + * flex.1: credits + +1995-04-24 09:26 Vern Paxson + + * NEWS: multiple FlexLexer.h includes + +1995-04-24 09:25 Vern Paxson + + * FlexLexer.h: fix multiple inclusions + +1995-04-24 08:17 Vern Paxson + + * scan.l: lint tweak + +1995-04-24 07:39 Vern Paxson + + * flex.1: typo fixed + +1995-04-24 06:49 Vern Paxson + + * flex.1: credits update + +1995-04-24 06:48 Vern Paxson + + * flex.skl: (char*) cast for realloc + +1995-04-24 06:46 Vern Paxson + + * NEWS: (char*) tweak + +1995-04-21 07:53 Vern Paxson + + * NEWS: VMS update for 2.5.2 + +1995-04-21 07:53 Vern Paxson + + * Makefile.in: clarify when 8-bit scanners are created by default, + vs. 7-bit + +1995-04-21 07:51 Vern Paxson + + * parse.y: reworked alloca() chud, from Francois + +1995-04-20 09:57 Vern Paxson + + * NEWS, version.h: 2.5.2 + +1995-04-20 09:57 Vern Paxson + + * flex.1: 2.5.2 update + +1995-04-20 09:53 Vern Paxson + + * dfa.c, main.c: const -> yyconst + +1995-04-20 09:34 Vern Paxson + + * Makefile.in: fixed some old libfl.a references + +1995-04-20 09:09 Vern Paxson + + * Makefile.in: some (but not all) of Francois' tweaks + +1995-04-20 09:08 Vern Paxson + + * configure.in: tweaks from Francois + +1995-04-20 08:46 Vern Paxson + + * flex.skl: yy_delete_buffer allows nil buffer pointer + +1995-04-20 08:43 Vern Paxson + + * main.c: do_stdinit now defaults to false + +1995-04-20 08:43 Vern Paxson + + * FlexLexer.h: remove first default for yylex(new_in, new_out) + +1995-04-20 08:42 Vern Paxson + + * flex.skl: rearrange some definitions; fix YY_NO_UNPUT + +1995-04-20 08:42 Vern Paxson + + * parse.y: more alloca() bullshit + +1995-04-20 07:35 Vern Paxson + + * misc.c: octal escape sequence must have just digits 0-7 + +1995-04-20 07:35 Vern Paxson + + * scan.l: '-' means stdin octal escape sequence must just be digits + 0-7 + +1995-04-20 07:34 Vern Paxson + + * main.c: -- terminates options + +1995-04-20 07:17 Vern Paxson + + * flexdef.h: added dataflush() prototype + +1995-04-20 07:17 Vern Paxson + + * misc.c: move dataflush, otoi prototypes into flexdef.h + +1995-04-20 07:17 Vern Paxson + + * gen.c, flex.skl: const -> yyconst + +1995-04-20 06:55 Vern Paxson + + * gen.c: fixed bug in needing yy_cp for -Cf w/ backing up + +1995-03-28 05:29 Vern Paxson + + * flex.1, README: Stan Adermann credit + +1995-03-27 09:38 Vern Paxson + + * README: beta-tester update + +1995-03-27 09:38 Vern Paxson + + * NEWS, version.h: 2.5.1 + +1995-03-27 09:37 Vern Paxson + + * flex.1: update date for 2.5.1 release, some feedbacker credits + +1995-03-27 09:36 Vern Paxson + + * gen.c: fixed lint problem with declaring yy_cp unnecessarily + +1995-03-27 09:35 Vern Paxson + + * dfa.c: {}'s around full-table initializations + +1995-03-21 09:35 Vern Paxson + + * README: for version 2.5 + +1995-03-21 09:13 Vern Paxson + + * flex.1: added note regarding yylineno should be maintained on a + per-buffer basis + +1995-03-21 09:12 Vern Paxson + + * NEWS: new C++ member functions + +1995-03-21 08:44 Vern Paxson + + * flex.1, NEWS: 2.5.0.8 update + +1995-03-21 08:44 Vern Paxson + + * main.c: rename yylineno if -P + +1995-03-20 09:03 Vern Paxson + + * flexdef.h: do_yylineno MARKER_DIFFERENCE depends on MAXIMUM_MNS + +1995-03-20 09:02 Vern Paxson + + * Makefile.in: removed redundant skel.c from DISTFILES + +1995-03-20 09:02 Vern Paxson + + * FlexLexer.h: debug(), setdebug(), lineno() + +1995-03-20 09:02 Vern Paxson + + * flex.skl: %option yylineno support + +1995-03-20 09:02 Vern Paxson + + * gen.c: read up to newline for interactive reads, rather than one + char + +1995-03-20 09:01 Vern Paxson + + * scan.l, main.c: added %option yylineno + +1995-03-18 04:27 Vern Paxson + + * gen.c: added do_yylineno + +1995-03-06 10:53 Vern Paxson + + * flex.1, NEWS: 2.5.0.7 + +1995-03-05 16:37 Vern Paxson + + * Makefile.in: realclean -> maintainer-clean + +1995-03-05 16:35 Vern Paxson + + * flex.skl: Added yy_flush_buffer + +1995-03-05 16:35 Vern Paxson + + * FlexLexer.h: added yy_flush_buffer + +1995-03-05 16:35 Vern Paxson + + * main.c: prefix support for yy_flush_buffer + +1995-03-05 15:37 Vern Paxson + + * parse.y: added %option yyclass + +1995-03-05 15:37 Vern Paxson + + * scan.l, flexdef.h, main.c: added yyclass + +1995-03-05 11:50 Vern Paxson + + * FlexLexer.h: Added switch_streams + +1995-03-05 11:50 Vern Paxson + + * flex.skl: added switch_streams + +1995-03-05 11:37 Vern Paxson + + * main.c: don't rename yy_flex_debug for C++ + +1995-03-05 11:37 Vern Paxson + + * gen.c: yy_flex_debug extern only if not C++ + +1995-03-05 11:37 Vern Paxson + + * FlexLexer.h: added yy_flex_debug member variable + +1995-03-05 11:36 Vern Paxson + + * flex.skl: yyFlexLexer initialization of yy_flex_debug + +1995-03-04 13:06 Vern Paxson + + * flexdef.h, main.c: VMS POSIX stuff + +1995-03-04 11:36 Vern Paxson + + * flex.skl: moved position of yy_init = 0 + +1995-03-04 11:15 Vern Paxson + + * flex.skl: added YY_EXIT_FAILURE + +1995-03-04 11:14 Vern Paxson + + * main.c: removed VMS-specific exit + +1995-03-04 11:09 Vern Paxson + + * flexdef.h, dfa.c, yylex.c, sym.c, scan.l, nfa.c, misc.c, gen.c, + main.c: internationalization aids + +1995-03-04 11:07 Vern Paxson + + * main.c: do yy_flex_debug prefix for both C++ and C + +1995-02-06 04:38 Vern Paxson + + * main.c: fixed program_name tweak again + +1995-01-11 06:00 Vern Paxson + + * main.c: oops, fixed program_name tweak + +1995-01-11 05:53 Vern Paxson + + * main.c: program_name is "flex" if argv[0] nil + +1995-01-10 05:43 Vern Paxson + + * NEWS: 2.5.0.5 + +1995-01-10 05:43 Vern Paxson + + * flex.1: Documented YY_NUM_RULES + +1995-01-10 05:42 Vern Paxson + + * Makefile.in: added formatted man page to MISC + +1995-01-10 05:42 Vern Paxson + + * main.c: help messages to stdout + +1995-01-09 17:05 Vern Paxson + + * gen.c: Added YY_NUM_RULES + +1995-01-09 16:02 Vern Paxson + + * flex.skl: better fix for #pragma problem + +1995-01-09 16:02 Vern Paxson + + * flexdef.h: better fix for #pragma portability problem + +1995-01-09 07:54 Vern Paxson + + * misc.c: "# line" -> #line + +1995-01-09 07:41 Vern Paxson + + * flex.skl, flexdef.h: comment out Turbo C #pragma's + +1995-01-09 07:35 Vern Paxson + + * scan.l: reset linenum on new file + +1995-01-09 07:13 Vern Paxson + + * flex.skl: isatty() extern + +1995-01-09 07:13 Vern Paxson + + * NEWS, flex.1: 2.5.0.4 + +1995-01-09 07:12 Vern Paxson + + * main.c: long options, VMS tweaks + +1995-01-09 07:12 Vern Paxson + + * Makefile.in: Added parse.c, parse.h for dist MISC directory + +1995-01-09 07:11 Vern Paxson + + * flexdef.h: some "const" cleansing + +1995-01-09 07:11 Vern Paxson + + * mkskel.sh: skel[] is now const + +1995-01-09 07:11 Vern Paxson + + * misc.c: some const cleansing + +1995-01-09 07:10 Vern Paxson + + * scan.l: #line in section 1 + +1995-01-05 17:04 Vern Paxson + + * sym.c: preen + +1994-12-29 10:58 Vern Paxson + + * configure.in: config.h from conf.in + +1994-12-29 10:58 Vern Paxson + + * flexdef.h: for VMS, delete -> remove + +1994-12-29 10:57 Vern Paxson + + * Makefile.in: config.h.in -> conf.in rm config.h on distclean + +1994-12-29 10:57 Vern Paxson + + * main.c: stdinit tweaks + +1994-12-29 10:48 Vern Paxson + + * scan.l: added nostdinit + +1994-12-28 13:47 Vern Paxson + + * NEWS: added MS-DOS note for 2.5.0.2 + +1994-12-28 13:16 Vern Paxson + + * flex.1: typos, tweaks + +1994-12-28 10:40 Vern Paxson + + * Makefile.in: removed flexdoc + +1994-12-28 10:35 Vern Paxson + + * flex.1: flexdoc/flex merge + +1994-12-28 08:50 Vern Paxson + + * flex.1: typos + +1994-12-28 08:45 Vern Paxson + + * NEWS: typo + +1994-12-28 08:42 Vern Paxson + + * flex.1: 2.5 update + +1994-12-28 08:41 Vern Paxson + + * NEWS: 2.5.0.2 + +1994-12-28 06:55 Vern Paxson + + * scan.l: fixed sense of %option main implying %option noyywrap + +1994-12-28 06:54 Vern Paxson + + * flex.skl: YY_FLEX_{MAJOR,MINOR}_VERSION fixed bug in unput + trashing yytext even with %array + +1994-12-17 17:08 Vern Paxson + + * flex.1: prior to 2.5 update + +1994-12-17 13:41 Vern Paxson + + * main.c: C++/-P fixes + +1994-12-17 13:40 Vern Paxson + + * FlexLexer.h: -P fixes constructor, destructor moved to flex.skl + +1994-12-17 13:40 Vern Paxson + + * flex.skl: YY_SKIP_YYWRAP yyFlexLexer constructor, destructor + +1994-12-15 09:34 Vern Paxson + + * gen.c: formatting + +1994-12-15 09:30 Vern Paxson + + * gen.c: fixed bug in adjusting yytext before backing up + +1994-12-10 17:24 Vern Paxson + + * scan.l: switched scanner itself over to [:xxx:] + +1994-12-10 12:53 Vern Paxson + + * flex.skl: added YY_FLEX_VERSION + +1994-12-10 12:53 Vern Paxson + + * scan.l: Fixed CCL-match pattern for [:whatever:] + +1994-12-10 12:52 Vern Paxson + + * parse.y: treat [:upper:] as [:lower:] if -i + +1994-12-06 16:59 Vern Paxson + + * NEWS: 2.5.0.1 + +1994-12-06 16:28 Vern Paxson + + * flex.skl, gen.c: input() maintains BOL + +1994-12-06 16:20 Vern Paxson + + * flex.skl: check size of buffer in yy_scan_buffer + +1994-12-06 16:08 Vern Paxson + + * flex.skl: added %option main, fixed missing %* + +1994-12-06 16:08 Vern Paxson + + * parse.y: added ccl exprs + +1994-12-06 16:07 Vern Paxson + + * scan.l: added ccl exprs, %option main + +1994-12-06 16:07 Vern Paxson + + * yylex.c: added %options, ccl exprs + +1994-12-05 16:18 Vern Paxson + + * misc.c: undid previous change + +1994-12-04 10:30 Vern Paxson + + * Makefile.in: Makefile.in from srcdir + +1994-12-04 04:14 Vern Paxson + + * Makefile.in: added skel.c to DISTFILES + +1994-12-04 03:56 Vern Paxson + + * flex.skl: added YYSTATE alias + +1994-12-04 03:28 Vern Paxson + + * scan.l: NL is now \r?\n + +1994-12-04 03:28 Vern Paxson + + * gen.c: use cerr for C++ diagnostics + +1994-12-03 15:16 Vern Paxson + + * flex.skl: undid YY_UNIX_NEWLINE + +1994-12-03 08:44 Vern Paxson + + * flexdef.h: STDC_HEADERS to check for stdlib + +1994-12-03 08:43 Vern Paxson + + * configure.in: AC_STDC_HEADERS -> AC_HEADER_STDC + +1994-12-03 08:43 Vern Paxson + + * misc.c: \n -> '\012' + +1994-12-03 07:20 Vern Paxson + + * flex.skl: Added YY_UNIX_NEWLINE + +1994-12-03 06:29 Vern Paxson + + * flex.skl: BOL changes + +1994-12-03 06:29 Vern Paxson + + * dfa.c: fixed bug with caseins but not ecs + +1994-12-03 06:27 Vern Paxson + + * gen.c: BOL changes some casts for Turbo C + +1994-12-03 06:27 Vern Paxson + + * main.c: messages identify filenames + +1994-12-03 06:26 Vern Paxson + + * misc.c: Increase slowly if realloc double overflows + +1994-12-03 06:26 Vern Paxson + + * nfa.c: YY_RULE_SETUP + +1994-12-03 06:26 Vern Paxson + + * scan.l: Added yy_XX_state %option's Added yy_set_bol + +1994-11-29 11:14 Vern Paxson + + * Makefile.in: don't remove ~ files + +1994-11-24 11:50 Vern Paxson + + * Makefile.in: get CFLAGS from autoconf + +1994-11-24 11:42 Vern Paxson + + * dfa.c, flex.skl, flexdef.h, gen.c, misc.c, parse.y, scan.l, + sym.c: Brian Madsen's tweaks for Borland + +1994-11-24 10:50 Vern Paxson + + * version.h: 2.5.0 + +1994-11-24 10:50 Vern Paxson + + * flexdef.h: Added do_stdinit + +1994-11-24 10:49 Vern Paxson + + * FlexLexer.h: Added yy_delete_buffer() in destructor + +1994-11-24 10:48 Vern Paxson + + * flex.skl: Added yy_set_interactive, YY_ALWAYS_INTERACTIVE, + YY_NEVER_INTERACTIVE, YY_NO_INPUT, YY_NO_UNPUT, YY_NO_*_STATE + +1994-11-24 10:48 Vern Paxson + + * main.c: Added do_stdinit, Think C hacks + +1994-11-24 10:47 Vern Paxson + + * scan.l: Added %options for input, always-interactive, + never-interactive, yy_scan_{buffer,bytes,string} + +1994-11-05 12:13 Vern Paxson + + * flex.skl: size_t #ifdef's for not compiling some statics + +1994-11-05 12:13 Vern Paxson + + * Makefile.in: $(FLEX) config.h + +1994-11-05 12:11 Vern Paxson + + * configure.in: config.h, size_t, malloc.h, sys/types.h + +1994-11-05 12:10 Vern Paxson + + * flexdef.h: config.h, size_t + +1994-11-05 12:10 Vern Paxson + + * main.c: yywrap option, no stdin/out init for VMS, mundane tweaks + +1994-11-05 12:09 Vern Paxson + + * parse.y: alloca, lint tweaks + +1994-11-05 12:09 Vern Paxson + + * scan.l: %option yywrap size_t tweaks + +1994-11-05 12:08 Vern Paxson + + * tblcmp.c: size_t tweaks + +1994-11-05 12:08 Vern Paxson + + * misc.c: size_t, STDC tweaks + +1994-11-05 10:17 Vern Paxson + + * flex.skl: Added yy_scan_{buffer,bytes,string}, plus tweaks + +1994-10-12 17:13 Vern Paxson + + * flex.skl: made stack code conditional on "stack" option + +1994-10-12 17:13 Vern Paxson + + * scan.l: added use of "stack" %option + +1994-08-03 07:38 Vern Paxson + + * gen.c: Fixed fencepost in call to yy_flex_strncpy + +1994-07-25 18:05 Vern Paxson + + * flex.skl: yy_eof_status -> yy_buffer_status + +1994-07-25 17:22 Vern Paxson + + * flex.skl: yy_flex_strcpy -> yy_flex_strncpy minor prototype tweak + +1994-07-25 17:21 Vern Paxson + + * gen.c: Bug fix for matching NUL's at end of token when + interactive. yy_flex_strcpy -> yy_flex_strncpy + +1994-07-25 16:49 Vern Paxson + + * nfa.c: No YY_USER_ACTION if continued action + +1994-03-16 07:18 Vern Paxson + + * flex.skl: Added fix for 8-bit chars returned by input() + +1994-03-16 07:09 Vern Paxson + + * flex.skl: Move definition of yy_flex_strcpy to come after #define + of yytext_ptr + +1994-01-08 05:17 Vern Paxson + + * mkskel.sh: flex.skel -> flex.skl + +1994-01-08 05:13 Vern Paxson + + * mkskel.sh: Initial revision + +1993-12-29 12:09 Vern Paxson + + * Makefile.in: Fixed scan.c target so "make" detects flex failure + +1993-12-27 10:14 Vern Paxson + + * scan.l: Added %option's + +1993-12-27 09:57 Vern Paxson + + * Makefile.in: Nuked FLEX_FLAGS that are now done using %option + +1993-12-27 09:41 Vern Paxson + + * parse.y, scan.l: %option + +1993-12-27 09:41 Vern Paxson + + * main.c: Reworked for %option + +1993-12-27 09:40 Vern Paxson + + * flexdef.h: Added "unspecified", globals for %option + +1993-12-27 09:40 Vern Paxson + + * sym.c: start condition #define's go to action file + +1993-12-27 09:40 Vern Paxson + + * misc.c: Added action_define() + +1993-12-27 05:59 Vern Paxson + + * scan.l: Minor consolidation using scon scopes etc + +1993-12-27 05:36 Vern Paxson + + * scan.l: Modified to use scon scopes + +1993-12-27 05:20 Vern Paxson + + * scan.l: indented rules + +1993-12-26 17:22 Vern Paxson + + * parse.y: Added scon_stk stuff, format_warn + +1993-12-26 17:22 Vern Paxson + + * flexdef.h: Added format_warn + +1993-12-26 10:04 Vern Paxson + + * parse.y: Working checkpoint prior to adding { stuff + +1993-12-26 10:04 Vern Paxson + + * main.c, flexdef.h: Added in_rule, deleted actvsc + +1993-12-26 10:03 Vern Paxson + + * misc.c: Added doubling of '\'s in filenames + +1993-12-26 10:02 Vern Paxson + + * scan.l: Added in_rule, doing_rule_action + +1993-12-26 10:02 Vern Paxson + + * sym.c: Removed actvsc + +1993-12-23 15:44 Vern Paxson + + * flex.1: -ooutput #line directives credits + +1993-12-23 15:43 Vern Paxson + + * flex.skl: Fixsed sense of test for %array + +1993-12-23 15:42 Vern Paxson + + * NEWS: 2.5.0 snapshot for Craig + +1993-12-23 15:41 Vern Paxson + + * parse.y: Added beginnings of { ... } + +1993-12-23 15:41 Vern Paxson + + * scan.l: Simplified scanning {}'s + +1993-12-20 04:41 Vern Paxson + + * flexdef.h: Added + +1993-12-17 05:31 Vern Paxson + + * flex.skl: prototypes for alloc/string routines + +1993-12-17 05:06 Vern Paxson + + * flex.skl: alloc, string routines internal + +1993-12-17 05:05 Vern Paxson + + * Makefile.in: Nuked lib{string,alloc}.c, added dependency of + yylex.o on parse.h + +1993-12-17 05:05 Vern Paxson + + * configure.in: Check for string.h + +1993-12-17 05:04 Vern Paxson + + * flexdef.h: Use autoconf for string/strings.h yy_flex_XXX -> + flex_XXX + +1993-12-17 05:04 Vern Paxson + + * scan.l: Added flex_XXX -> yy_flex_XXX wrappers + +1993-12-17 05:04 Vern Paxson + + * sym.c, misc.c, dfa.c: yy_flex_XXX -> flex_XXX + +1993-12-17 05:03 Vern Paxson + + * yylex.c: No more WHITESPACE token + +1993-12-16 15:46 Vern Paxson + + * flex.skl, FlexLexer.h: Added yy_top_state() + +1993-12-16 15:44 Vern Paxson + + * scan.l: simplified comment-scanning using push/pop states + +1993-12-16 15:44 Vern Paxson + + * parse.y: removed crufty WHITESPACE token, some uses of '\n' token + +1993-12-15 05:23 Vern Paxson + + * FlexLexer.h: start stack, extern "C++" moved + +1993-12-15 05:23 Vern Paxson + + * dfa.c: Bug fix for -CF + +1993-12-15 05:23 Vern Paxson + + * flexdef.h, misc.c: alloc routines take unsigned + +1993-12-15 05:23 Vern Paxson + + * flex.skl: start-state stacks, alloc routines take unsigned + +1993-12-15 05:08 Vern Paxson + + * flexdef.h, misc.c: bracket -CF table elements + +1993-12-13 07:33 Vern Paxson + + * misc.c: Do #bytes computation in {re,}allocate_array() only once + +1993-12-11 12:06 Vern Paxson + + * flexdef.h, gen.c, main.c, misc.c, scan.l, flex.skl, sym.c: + yy_str*() -> str*() + +1993-12-11 09:40 Vern Paxson + + * Makefile.in, dfa.c, flexdef.h, gen.c, main.c, misc.c, nfa.c, + parse.y, scan.l, sym.c: -o option + +1993-12-11 06:09 Vern Paxson + + * gen.c: lint tweak + +1993-12-11 06:00 Vern Paxson + + * NEWS: Expanded on extern "C++" news item + +1993-12-11 05:58 Vern Paxson + + * NEWS: 2.4.5 + +1993-12-11 05:56 Vern Paxson + + * flex.skl: Added yy_fill_buffer + +1993-12-11 05:56 Vern Paxson + + * gen.c: is_interactive -> yy_is_interactive + +1993-12-11 05:34 Vern Paxson + + * flex.1: Updated credits + +1993-12-11 05:33 Vern Paxson + + * Makefile.in: Fixed typo in "uninstall" target + +1993-12-11 05:33 Vern Paxson + + * gen.c: Updated comment regarding 0-based vs. 1-based arrays for + -CF. + +1993-12-11 05:30 Vern Paxson + + * dfa.c: Initialize dfaacc[0] for -CF representation Fixed minor + memory leak + +1993-12-11 05:29 Vern Paxson + + * main.c: #include "FlexLexer.h" -> + +1993-12-11 05:27 Vern Paxson + + * FlexLexer.h: Added extern "C++" wrapper + +1993-12-09 08:58 Vern Paxson + + * main.c: Detect REJECT etc. before generating YY_USES_REJECT! + +1993-12-09 08:58 Vern Paxson + + * gen.c: Fixed bug in interactive reads where char is unsigned + +1993-12-09 08:57 Vern Paxson + + * parse.y: Fixed bug in treating '$' as variable trailing context + +1993-12-09 08:57 Vern Paxson + + * version.h: 2.4.5 + +1993-12-07 08:08 Vern Paxson + + * README: pretester update + +1993-12-07 06:16 Vern Paxson + + * NEWS: 2.4.4 + +1993-12-07 06:15 Vern Paxson + + * flex.1: LexError(), C++ experiment warning, credits + +1993-12-07 06:11 Vern Paxson + + * scan.l: Fixed 8-bit bug + +1993-12-07 06:10 Vern Paxson + + * gen.c, flex.skl: Fixed nasty 8-bit bugs + +1993-12-07 05:18 Vern Paxson + + * dfa.c, ecs.c, flexdef.h, gen.c, main.c, nfa.c, tblcmp.c: + {min,max,abs} -> {MIN,MAX,ABS} + +1993-12-07 05:11 Vern Paxson + + * FlexLexer.h, flex.skl: Support for yyFlexLexer::LexerError + +1993-12-06 04:43 Vern Paxson + + * version.h: 2.4.4 + +1993-12-05 12:11 Vern Paxson + + * flex.1: credits update + +1993-12-05 12:08 Vern Paxson + + * Makefile.in: very minor "install" tweaks + +1993-12-05 12:07 Vern Paxson + + * flex.skl, nfa.c: YY_USER_ACTION generated now for each case in + action switch + +1993-12-04 17:02 Vern Paxson + + * flex.skl: Fixed bug in pointing yyin at a new file and resuming + scanning + +1993-12-03 17:45 Vern Paxson + + * NEWS: Added note regarding g++ 2.5.X + +1993-12-03 17:20 Vern Paxson + + * flex.1: updated credits + +1993-12-03 17:20 Vern Paxson + + * NEWS: ranlib addition for 2.4.3 + +1993-12-03 17:19 Vern Paxson + + * Makefile.in: Minor tweak to last change + +1993-12-03 17:18 Vern Paxson + + * Makefile.in: run ranlib on libfl.a + +1993-12-03 17:02 Vern Paxson + + * NEWS: Hopefully last update prior to 2.4.3 + +1993-12-03 16:59 Vern Paxson + + * flexdef.h, gen.c, misc.c, sym.c: lint tweaks + +1993-12-03 16:35 Vern Paxson + + * Makefile.in: Added exec_prefix + +1993-12-03 16:35 Vern Paxson + + * flex.1: credit update + +1993-12-03 16:35 Vern Paxson + + * flex.skl: lint tweak + +1993-12-03 07:50 Vern Paxson + + * NEWS: FlexLexer.h fixed for separate inclusion + +1993-12-03 07:49 Vern Paxson + + * flex.skl, FlexLexer.h, main.c: mods so FlexLexer.h can be + included separately + +1993-12-03 07:47 Vern Paxson + + * flex.1: -F incompatible with -+ + +1993-12-02 17:18 Vern Paxson + + * NEWS: Elaborated comments for 2.4.3 + +1993-12-02 16:59 Vern Paxson + + * NEWS: 2.4.3 + +1993-12-02 16:58 Vern Paxson + + * flex.1: Updated message regarding missing libfl.a routines Added + thanks to Noah Friedman + +1993-12-02 16:52 Vern Paxson + + * Makefile.in: Added libstring.c Modified "lint" target to use + -Dconst= Added a.out, lex.yy.cc to sundry clean targets + +1993-12-02 16:52 Vern Paxson + + * gen.c, scan.l, sym.c, misc.c, main.c, flexdef.h, flex.skl: Use + yy_strXXX() routines instead of + +1993-12-01 06:58 Vern Paxson + + * version.h: 2.4.3 + +1993-12-01 06:58 Vern Paxson + + * flexdef.h, misc.c: yy_flex_xmalloc() moved to misc.c + +1993-12-01 06:58 Vern Paxson + + * flex.skl: Fixed bug in yy_fatal_error() + +1993-12-01 02:59 Vern Paxson + + * Makefile.in: ... and remove plain tar file after compression + +1993-12-01 02:57 Vern Paxson + + * NEWS: 2.4.2 + +1993-12-01 02:56 Vern Paxson + + * Makefile.in: Produce both compress'd and gzip'd distribution tar + files + +1993-12-01 02:52 Vern Paxson + + * version.h: Release 2.4.2 + +1993-11-30 18:37 Vern Paxson + + * NEWS: -a -> -Ca + +1993-11-30 15:59 Vern Paxson + + * README: described configuration files in manifest + +1993-11-30 15:58 Vern Paxson + + * Makefile.in: Added intermediate step of copying MISC/alloca.c -> + alloca.c Included CPPFLAGS when compiling alloca.c + +1993-11-30 10:51 Vern Paxson + + * README: Credit to 2.4 pre-testers. + +1993-11-30 08:01 Vern Paxson + + * gen.c: Fixed nasty bug in short/long decl decision + +1993-11-30 08:01 Vern Paxson + + * flexdef.h: Lowered MAX_SHORT out of increased general paranoia. + Added yy_flex_xmalloc() proto + +1993-11-30 08:00 Vern Paxson + + * main.c: Fixed very minor typo in -v output + +1993-11-30 08:00 Vern Paxson + + * misc.c: Removed vestigal cast to (char) in isupper() call + +1993-11-30 07:59 Vern Paxson + + * misc.c: Added casts to unsigned Char for isascii() calls + +1993-11-30 07:59 Vern Paxson + + * parse.y: Added #ifdef chud for alloca() + +1993-11-30 07:59 Vern Paxson + + * Makefile.in: Added alloca + +1993-11-30 07:35 Vern Paxson + + * configure.in: Add AC_ALLOCA if using bison + +1993-11-29 16:35 Vern Paxson + + * Makefile.in: Added intermediate file going scan.l -> scan.c + +1993-11-29 12:18 Vern Paxson + + * Makefile.in: Removed parse.{c,h} from distribution files, since + they may not be all that portable. + +1993-11-29 12:13 Vern Paxson + + * flex.skl: Fixed %array YYLMAX headaches, added error message if + buffer needs growing but REJECT used + +1993-11-29 12:13 Vern Paxson + + * gen.c, main.c: Fixed YYLMAX headaches + +1993-11-29 12:13 Vern Paxson + + * flex.1: Documented that buffer can't grow if REJECT used + +1993-11-29 12:12 Vern Paxson + + * Makefile.in: Added parse.{c,h} to dist files + +1993-11-29 11:40 Vern Paxson + + * flex.skl, flexdef.h, gen.c, main.c, misc.c, scan.l: Fixed to + buffer section 1 definitions + +1993-11-29 11:38 Vern Paxson + + * sym.c: Fixed ANSI-C glitch with '%' operator + +1993-11-29 09:57 Vern Paxson + + * scan.l: Fixed mis-definition of ndlookup() + +1993-11-29 06:04 Vern Paxson + + * NEWS: 2.4 -> 2.4.1 + +1993-11-29 06:02 Vern Paxson + + * Makefile.in: Added install.sh, mkinstalldirs to distribution + files + +1993-11-29 05:51 Vern Paxson + + * flex.1: Added Nathan Zelle, "promoted" Francois + +1993-11-29 05:37 Vern Paxson + + * Makefile.in: only "realclean" removes flex dist depends on flex + +1993-11-29 05:37 Vern Paxson + + * flexdef.h, misc.c: myctoi takes char[] instead of Char[] + +1993-11-28 11:46 Vern Paxson + + * flexdef.h: -a -> -Ca all_lower, all_upper -> work on char* + +1993-11-28 11:46 Vern Paxson + + * Makefile.in: Added -Ca to bigcheck + +1993-11-28 11:45 Vern Paxson + + * main.c: -a -> -Ca; fixed help output + +1993-11-28 11:45 Vern Paxson + + * dfa.c, flex.1: -a -> -Ca + +1993-11-28 11:44 Vern Paxson + + * misc.c: all_lower, all_upper work on char* + +1993-11-28 11:44 Vern Paxson + + * scan.l: Fixed some casts now that yytext is always char* and + never unsigned char* + +1993-11-28 11:42 Vern Paxson + + * Makefile.in: Francois' tweaks + +1993-11-28 11:39 Vern Paxson + + * configure.in: AC_LN_S, AC_STDC_HEADERS (but not AC_ALLOCA) + +1993-11-27 10:10 Vern Paxson + + * NEWS: fixed typo + +1993-11-27 10:03 Vern Paxson + + * Makefile.in: Don't remove dist directory + +1993-11-27 10:01 Vern Paxson + + * Makefile.in: Include liballoc.c in lint targets + +1993-11-27 10:01 Vern Paxson + + * misc.c: lint tweak + +1993-11-27 09:14 Vern Paxson + + * Makefile.in: Added -l compression to bigcheck + +1993-11-27 09:07 Vern Paxson + + * Makefile.in: permission tweaking for "dist" + +1993-11-27 09:02 Vern Paxson + + * Makefile.in: more "dist" tweaks + +1993-11-27 08:59 Vern Paxson + + * Makefile.in: Changed "make dist" to use version.h, include scan.c + in initial dir copy + +1993-11-27 08:44 Vern Paxson + + * version.h: 2.4.1 + +1993-11-27 08:44 Vern Paxson + + * README: Revised as per Francois Pinard + +1993-11-27 08:41 Vern Paxson + + * COPYING: flex.skel -> flex.skl + +1993-11-27 08:37 Vern Paxson + + * NEWS: Updated date of 2.4 release + +1993-11-27 08:29 Vern Paxson + + * Makefile.in: Removed manual & nroff output from distribution + +1993-11-27 08:20 Vern Paxson + + * NEWS: 2.4.1 release + +1993-11-27 07:57 Vern Paxson + + * configure.in: Initial revision + +1993-11-27 07:56 Vern Paxson + + * Makefile.in: Merge w/ 2.4.1 changes added "dist2" target + +1993-11-26 12:02 Vern Paxson + + * Makefile.in: Initial revision + +1993-11-26 11:59 Vern Paxson + + * flexdef.h: Removed #ifndef FILE protection from include of stdio + +1993-11-26 11:40 Vern Paxson + + * flex.1: Added Francois Pinard to distribution headache helpers + +1993-11-26 11:10 Vern Paxson + + * flex.skl: Modified C++ scanners to get input a character at a + time for interactive scanners. + +1993-11-26 11:09 Vern Paxson + + * main.c: Added YY_INTERACTIVE. + +1993-11-26 11:09 Vern Paxson + + * scan.l: Put definitions inside ()'s so we can test -l option for + "make bigcheck" + +1993-11-26 11:09 Vern Paxson + + * flex.1: Documented YY_INTERACTIVE. + +1993-11-26 10:08 Vern Paxson + + * flex.skl, flexdef.h, flex.1, gen.c, main.c, parse.y, scan.l: -l + lex compatibility flag + +1993-11-20 10:05 Vern Paxson + + * flex.skl: Support for read()/fread() section 1 definitions + precede default macro definitions + +1993-11-20 10:05 Vern Paxson + + * flexdef.h: Added use_read global + +1993-11-20 10:04 Vern Paxson + + * gen.c: Cleaner definition for yymore() Fixed string broken across + multiple lines + +1993-11-20 10:04 Vern Paxson + + * main.c: Added -Cr + +1993-11-20 10:03 Vern Paxson + + * misc.c: K&R declaration for check_char() + +1993-11-20 09:56 Vern Paxson + + * flex.1: Documented -Cr + +1993-11-20 09:31 Vern Paxson + + * flex.1: No need to #undef before redefining prior to -Cr + documentation + +1993-11-10 05:27 Vern Paxson + + * README: Heavily massaged for 2.4 + +1993-11-10 05:27 Vern Paxson + + * flex.1: Added Landon Noll to thanks. + +1993-11-10 05:07 Vern Paxson + + * NEWS: 2.4 release + +1993-11-10 05:06 Vern Paxson + + * flex.1: 2.4 documentation + +1993-11-10 05:05 Vern Paxson + + * main.c: Added global to remember -P prefix so it can be written + in -v summary. Alphabetized prefix generation, added yywrap + +1993-11-09 16:11 Vern Paxson + + * version.h: updated date for 2.4.0 :-( + +1993-10-10 11:28 Vern Paxson + + * FlexLexer.h: Whitespace tweaking + +1993-10-10 10:52 Vern Paxson + + * main.c: Use DEFAULT_CSIZE only if not using equivalence classes. + +1993-10-10 10:47 Vern Paxson + + * flex.1: Checkpoint prior to final 2.4 update + +1993-10-04 17:15 Vern Paxson + + * NEWS: Raw 2.4 changes + +1993-10-04 12:44 Vern Paxson + + * flex.skl: osfcn.h -> unistd.h + +1993-10-04 06:56 Vern Paxson + + * flex.skl: Added "static" to definition of yy_fatal_error as well + as fwd decl. + +1993-10-04 06:17 Vern Paxson + + * flex.skl: Added yy_fatal_error function. + +1993-10-03 13:38 Vern Paxson + + * flex.skl: Got rid of (char *) casts of yytext, no longer needed. + +1993-10-03 13:34 Vern Paxson + + * gen.c: Got rid of (char *) casts of yytext, no longer needed. + +1993-10-03 12:05 Vern Paxson + + * FlexLexer.h: YY_CHAR -> char added YYText(), YYLeng() + +1993-10-03 12:01 Vern Paxson + + * gen.c, flex.skl: Minimized use of YY_CHAR + +1993-10-03 12:01 Vern Paxson + + * main.c: Added "flex++" feature Minimized use of YY_CHAR + +1993-10-02 11:25 Vern Paxson + + * main.c: Clarified help message for -S + +1993-10-02 11:23 Vern Paxson + + * libyywrap.c, version.h: Initial revision + +1993-10-02 11:20 Vern Paxson + + * main.c: If -+ used, output to lex.yy.cc + +1993-10-02 11:19 Vern Paxson + + * FlexLexer.h, flex.skl: Switched from FILE*'s to stream's + +1993-10-02 09:44 Vern Paxson + + * flexdef.h: Added expand_nxt_chk() extern. + +1993-10-02 09:38 Vern Paxson + + * flex.skl: Added dynamic buffer growing. Added yyless() for + section 3. + +1993-10-02 09:37 Vern Paxson + + * main.c, flexdef.h, dfa.c, gen.c: Added -a option for long-align. + +1993-10-02 09:36 Vern Paxson + + * scan.l: formfeed no longer considered whitespace + +1993-09-21 16:45 Vern Paxson + + * flexdef.h: Nuked FILENAMESIZE + +1993-09-21 16:45 Vern Paxson + + * main.c: yyflexlexer.h -> FlexLexer.h minor portability tweak + +1993-09-21 16:45 Vern Paxson + + * gen.c: Added start condition to EOF trace output + +1993-09-21 16:44 Vern Paxson + + * flex.skl: Added YY_START changed yyFlexLexer to define yylex() + +1993-09-21 16:44 Vern Paxson + + * misc.c: Minor portability tweaks + +1993-09-21 16:43 Vern Paxson + + * FlexLexer.h: Split into two classes, one fully abstract. yylex() + no longer abstract in yyFlexLexer + +1993-09-21 16:42 Vern Paxson + + * scan.l: PC lint tweak + +1993-09-21 16:42 Vern Paxson + + * parse.y: YYSTYPE #define'd to int + +1993-09-21 16:42 Vern Paxson + + * nfa.c: minor lint tweak + +1993-09-16 16:53 Vern Paxson + + * FlexLexer.h: Initial revision + +1993-09-16 16:38 Vern Paxson + + * flexdef.h: Delete prototypes for Unix system calls. + +1993-09-16 16:31 Vern Paxson + + * yylex.c, tblcmp.c, sym.c, nfa.c, misc.c, main.c, gen.c, ecs.c, + ccl.c, dfa.c, scan.l, parse.y: nuked static RCS string + +1993-09-16 16:28 Vern Paxson + + * main.c: %array not allowed with C++ scanners + +1993-09-16 16:27 Vern Paxson + + * scan.l: Fixed bugs regarding %{%} code in section 2 prolog %array + not allowed with C++ scanners + +1993-08-25 13:11 Vern Paxson + + * flexdef.h: Added C_plus_plus flag. + +1993-08-25 13:11 Vern Paxson + + * flex.skl: First version of C/C++ skeleton + +1993-08-25 13:10 Vern Paxson + + * gen.c: yy_state_type declared earlier. Made a bunch of statics + only output if not -+ + +1993-08-25 12:59 Vern Paxson + + * main.c: Added -+ option, updated usage() output, rearranged some + generated code to come at the right point in the output for + yyflexlexer.h. + +1993-08-25 12:52 Vern Paxson + + * misc.c: Added %+/%-/%* to skelout() + +1993-08-25 12:51 Vern Paxson + + * scan.l: EOF in section 2 prolog leads to section 0, not section 3 + +1993-08-25 12:40 Vern Paxson + + * yylex.c: Dump promotion of EOF in section 2 to turn on section 3; + instead just treat it like a final EOF + +1993-08-25 12:40 Vern Paxson + + * dfa.c: yy_nxt table should be "const" + +1993-08-24 16:46 Vern Paxson + + * flexdef.h: Removed a lot of #ifdef chud "backtracking" -> + "backing up" + +1993-08-24 16:45 Vern Paxson + + * main.c: "backtracking" -> "backing up" got rid of time reports + +1993-08-24 16:44 Vern Paxson + + * gen.c: "backtracking" -> "backing up" some portability tweaks + fixed to only call flexscan() when done if known to be in section 3 + +1993-08-24 16:43 Vern Paxson + + * misc.c: isascii() moved to flexdef.h nuked flex_gettime() + +1993-08-24 16:43 Vern Paxson + + * scan.l: Fixed bug with empty section 2 + +1993-08-24 16:42 Vern Paxson + + * yylex.c: Chucked definition of isascii() + +1993-08-24 16:40 Vern Paxson + + * flex.skl: preserve yytext on input() bug fix when combining + yyless() with yymore() checkpoint prior to C++ option + +1993-08-24 16:37 Vern Paxson + + * dfa.c: "backtracking" -> "backing up" + +1993-07-09 15:47 Vern Paxson + + * flex.skl: Fixed to not generate extra EOF's after reading one. + +1993-07-05 17:52 Vern Paxson + + * main.c: Spit out definition of YY_CHAR early + +1993-07-05 17:52 Vern Paxson + + * flex.skl: Some rearranging to make sure things get declared in + the right order + +1993-07-05 17:37 Vern Paxson + + * tblcmp.c: Some comment fixes as per Wilhelms + +1993-07-05 17:37 Vern Paxson + + * scan.l: Nuked #undef of yywrap, now that it's a function + +1993-07-05 17:36 Vern Paxson + + * parse.y: Fixed bug with Z-a character classes as per Wilhelms + +1993-07-05 17:36 Vern Paxson + + * nfa.c: added check_char call in mkstate() to prevent bad xtion + chars + +1993-07-05 17:35 Vern Paxson + + * misc.c: Added check_char() + +1993-07-05 17:35 Vern Paxson + + * gen.c: Fixed some reallocation bugs, etc. as per Wilhelms + +1993-07-05 17:34 Vern Paxson + + * flexdef.h: Added check_char(), readable_form() + +1993-07-05 17:34 Vern Paxson + + * flex.skl: Added #ifndef's around #define's to let user override + Moved a bunch of definitions prior to section 1 + +1993-07-05 17:32 Vern Paxson + + * dfa.c: Wilhems bug fixes. + +1993-07-05 17:31 Vern Paxson + + * ccl.c: Added check_char() + +1993-06-12 09:44 Vern Paxson + + * flexdef.h: Changed to use yy_flex_alloc() and friends + +1993-06-12 09:43 Vern Paxson + + * main.c: Added -P flag + +1993-06-12 09:42 Vern Paxson + + * scan.l: Fixed bug in lex % directives + +1993-06-12 09:42 Vern Paxson + + * misc.c: Modified to use yy_flex_alloc() and friends + +1993-06-12 09:42 Vern Paxson + + * sym.c: Modified to use yy_flex_alloc() + +1993-06-12 09:41 Vern Paxson + + * flex.skl: Modified to use yy_flex_alloc() and friends Moved some + globals earlier in the file to permit access in section 1 + +1993-06-12 09:40 Vern Paxson + + * dfa.c: Got rid of code needed for %t + +1993-04-14 18:41 Vern Paxson + + * ccl.c, dfa.c, ecs.c, flex.skl, flexdef.h, gen.c, libmain.c, + main.c, misc.c, nfa.c, parse.y, scan.l, sym.c, tblcmp.c, yylex.c: + Reformatting. + +1993-04-05 16:38 Vern Paxson + + * flex.1: Fixed bug in description of backtracking + +1993-04-05 16:37 Vern Paxson + + * NEWS: 2.3.8 + +1993-04-05 16:37 Vern Paxson + + * main.c, flex.skl: %array support + +1993-04-05 16:36 Vern Paxson + + * misc.c: Added non-STDC clause for '\a' + +1993-04-05 16:35 Vern Paxson + + * scan.l: Fixed subtle problems regarding '*'s in comments + %pointer/%array match entire lines + +1993-04-05 16:35 Vern Paxson + + * gen.c: Added %array support + +1993-02-06 16:08 Vern Paxson + + * README: Finally updated email addr + +1993-02-06 16:08 Vern Paxson + + * flex.1: Mostly .LP -> .PP + +1993-02-06 16:06 Vern Paxson + + * flexdef.h: [no log message] + +1993-02-06 16:05 Vern Paxson + + * main.c, scan.l: A lot of tweaks ... + +1993-02-06 16:04 Vern Paxson + + * ccl.c: reallocate_character_array -> reallocate_Character_array + +1993-02-06 16:04 Vern Paxson + + * gen.c: Bug/lint fixes Modified to work with "action" array + instead of temp file + +1993-02-06 16:03 Vern Paxson + + * sym.c: Fixed bug in 8-bit hashing + +1993-02-06 16:03 Vern Paxson + + * parse.y: numerous bug fixes extra formatting of error/warning + messages added support of <*>, partial support for nested start + conditions + +1993-02-06 16:01 Vern Paxson + + * ecs.c: Remove %t cruft + +1993-02-06 16:01 Vern Paxson + + * flex.skl: Beginning of %pointer/%array support + +1993-02-06 16:00 Vern Paxson + + * dfa.c: Added keeping track of which rules are useful fixed a + fencepost error in checking for scanners that require -8 + +1993-02-06 15:59 Vern Paxson + + * nfa.c: Added checking for whether rules are useful modified to + work with internal "action" array + +1993-02-06 15:58 Vern Paxson + + * misc.c: Added internal "action" array, internal skeleton, + zero_out() in lieu of bzero + +1993-02-06 15:58 Vern Paxson + + * tblcmp.c: Fixed a bunch of fencepost errors in increasing tables. + +1993-02-06 15:57 Vern Paxson + + * yylex.c: -Wall fix + +1991-03-28 07:01 Vern Paxson + + * gen.c: Fixed out-of-bounds access bug; patch #7 for release 2.3 + +1991-03-28 07:00 Vern Paxson + + * NEWS: Patch #7 for 2.3 + +1990-10-23 10:51 Vern Paxson + + * gen.c: fixed missing "rule_type" entry for end-of-buffer action + +1990-08-29 08:11 Vern Paxson + + * gen.c: Fixed yymore() but in not resetting yy_more_len + +1990-08-29 08:10 Vern Paxson + + * NEWS: Patch #6 for 2.3 + +1990-08-16 16:22 Vern Paxson + + * NEWS: Patch #5 + +1990-08-13 20:10 Vern Paxson + + * misc.c: fixed comment in myesc() + +1990-08-13 20:07 Vern Paxson + + * NEWS: fixed date in patch #4 + +1990-08-13 20:05 Vern Paxson + + * NEWS: patch #4 + +1990-08-13 20:01 Vern Paxson + + * misc.c: fixed hexadecimal escapes; added is_hex_digit() + +1990-08-03 10:12 Vern Paxson + + * NEWS: Patch #3 + +1990-08-03 10:09 Vern Paxson + + * flex.skl, flexdef.h: changed to include for __GNUC__ + +1990-08-01 21:03 Vern Paxson + + * NEWS: 2.3 patch #2 + +1990-08-01 21:01 Vern Paxson + + * flex.skl: Another try at getting the malloc() definitions + correct; this time for g++, too + +1990-08-01 20:30 Vern Paxson + + * flex.skl, flexdef.h: fixed to declare malloc() and free() by hand + if __GNUC__ + +1990-07-28 12:53 Vern Paxson + + * flexdef.h: Changed to get malloc definition in identical fashion + to that used by flex.skel + +1990-06-27 20:43 Vern Paxson + + * NEWS: [no log message] + +1990-06-27 20:40 Vern Paxson + + * flex.1: Fixed bug in mini-scanner examle Fixed bug in YY_INPUT + redefinition yylineno defense reentrancy documentation Something + else which I forget. + +1990-06-27 19:47 Vern Paxson + + * COPYING, ccl.c, dfa.c, ecs.c, flexdef.h, gen.c, main.c, misc.c, + nfa.c, parse.y, scan.l, sym.c, tblcmp.c, yylex.c: 4.4 BSD copyright + +1990-05-26 13:31 Vern Paxson + + * README: Changed prolog to reflect 2.3 release. + +1990-05-26 13:29 Vern Paxson + + * NEWS: pointed reader at Makefile instead of README for porting + considerations added Makefile comments: support for SCO Unix; + parameterization + +1990-05-26 13:24 Vern Paxson + + * flex.skl: Added DONT_HAVE_STDLIB_H and declarations of malloc() + +1990-05-26 13:16 Vern Paxson + + * NEWS: 2.3 changes + +1990-05-26 13:02 Vern Paxson + + * flex.1: documentation on new features Comment regarding Ove's + work ^foo|bar difference between flex / lex yyin initialization + difference documented that yy_switch_to_buffer can be used in + yywrap() documented that # comments are deprecated + +1990-05-26 12:56 Vern Paxson + + * main.c: declared void functions as such added prototypes for + forward references changed to check for error status when closing + files + +1990-05-26 12:54 Vern Paxson + + * yylex.c: Added macro definition for isascii() if not already + present + +1990-05-26 12:53 Vern Paxson + + * sym.c: declared void functions as such added prototypes for + forward references changed to use format_pinpoint_message where + appropriate + +1990-05-26 12:53 Vern Paxson + + * scan.l: declared void functions as such changed to strip # + comments, as documented moved #undef of yywrap() to before include + of flexdef, so prototype doesn't get screwed up + +1990-05-26 12:52 Vern Paxson + + * parse.y: introduced format_pinpoint_message() declared void + functions as such changed lone <> to apply to all outstanding + start conditions + +1990-05-26 12:51 Vern Paxson + + * nfa.c, tblcmp.c: declared void functions as such added prototypes + for forward references + +1990-05-26 12:50 Vern Paxson + + * misc.c: declared void functions as such prototypes for forward + references shuffled around some routines to make the order perhaps + a little more logical changed memory references to use void* + instead of char* + +1990-05-26 12:50 Vern Paxson + + * libmain.c: Added declaration of arguments made yylex() a function + +1990-05-26 12:48 Vern Paxson + + * gen.c: prototypes for forward references declared void functions + as such yy_flex_debug testing of error on file closes casts to void + for sprintf() and strcpy() + +1990-05-26 12:42 Vern Paxson + + * flexdef.h: Added prototypes changed memory allocation routines to + deal with void*'s instead of char*'s some rearranging for VMS + +1990-05-26 12:40 Vern Paxson + + * flex.skl: Added YY_USER_INIT Added yy_new_buffer() alias for + yy_create_buffer() fixed (hopefully) malloc declaration headaches + +1990-05-26 12:40 Vern Paxson + + * ecs.c: declared void functions as such declared void functions as + such + +1990-05-26 12:39 Vern Paxson + + * dfa.c: prototypes for forward references declared void functions + as such + +1990-05-26 12:38 Vern Paxson + + * ccl.c: Declared void functions as such + +1990-04-12 07:03 Vern Paxson + + * flex.skl: added fix for allowing yy_switch_to_buffer() in + yywrap() + +1990-04-03 10:09 Vern Paxson + + * NEWS: patch #3 - -I fix + +1990-03-29 21:43 Vern Paxson + + * gen.c: Changed generation of archaic "continue" to "goto + yy_find_action" + +1990-03-27 07:06 Vern Paxson + + * NEWS: Patch #2 changes + +1990-03-27 07:03 Vern Paxson + + * flex.skl: fixed fencepost errors with yy_buf_size and detecting + NUL's + +1990-03-26 11:41 Vern Paxson + + * NEWS: [no log message] + +1990-03-26 11:38 Vern Paxson + + * flex.skl: g++ tweaks + +1990-03-23 09:25 Vern Paxson + + * NEWS: Changes for Patch #1. + +1990-03-23 09:20 Vern Paxson + + * flex.skl: fix for g++ + +1990-03-23 09:18 Vern Paxson + + * flex.1: minor typos and formatting changes. Removed BITNET + address. + +1990-03-23 09:16 Vern Paxson + + * README: nuked BITNET address. + +1990-03-20 09:54 Vern Paxson + + * README: 2.2 README + +1990-03-20 09:33 Vern Paxson + + * NEWS: USG alias. + +1990-03-20 09:32 Vern Paxson + + * flexdef.h: Added USG alias for SYS_V + +1990-03-20 09:25 Vern Paxson + + * flex.1: [no log message] + +1990-03-20 09:17 Vern Paxson + + * flex.1: Added Earle Horton for 8-bit chars. + +1990-03-20 08:52 Vern Paxson + + * flex.skl: Tweaks for lint and C++ + +1990-03-20 08:52 Vern Paxson + + * flex.1: -ll => -lfl + +1990-03-20 08:52 Vern Paxson + + * NEWS: 2.2 changes + +1990-03-20 08:17 Vern Paxson + + * flex.skl: Changed to use YY_BUFFER_STATE everywhere. + +1990-03-20 08:16 Vern Paxson + + * flex.1: [no log message] + +1990-03-20 08:16 Vern Paxson + + * dfa.c: "associated rules" changed to "associated rule line + numbers". + +1990-03-20 08:15 Vern Paxson + + * scan.l: cast added to malloc() call to keep lint happy. + +1990-03-20 06:36 Vern Paxson + + * yylex.c: Fixed handling of premature EOF's. + +1990-03-20 06:36 Vern Paxson + + * sym.c: Removed declaration of malloc() + +1990-03-20 06:36 Vern Paxson + + * scan.l: Removed malloc() declaration. Added detection of EOF in + actions. + +1990-03-20 06:35 Vern Paxson + + * parse.y: Rules rewritten so '/' and '$' parsed correctly. + +1990-03-20 06:34 Vern Paxson + + * nfa.c: Corrected line numbers for continued actions. + +1990-03-20 06:33 Vern Paxson + + * misc.c: Removed declarations of malloc() and realloc(). + +1990-03-20 06:32 Vern Paxson + + * main.c: Summary of generation flags. Minor -8 tweaks. + +1990-03-20 06:32 Vern Paxson + + * gen.c: full support for -d + +1990-03-20 06:31 Vern Paxson + + * flexdef.h: defines for malloc() and realloc() conditional defines + for abs(), min(), and max() + +1990-03-20 06:31 Vern Paxson + + * flex.skl: Many multiple-buffer additions. + +1990-03-20 06:30 Vern Paxson + + * dfa.c: -8 tweaks. + +1990-03-19 11:34 Vern Paxson + + * flex.skl: Proto hacks. NUL hacks. Debugging hacks. C++ hacks. + +1990-03-16 12:40 Vern Paxson + + * scan.l: RCS won't let me unedit! gets "Missing access list" + +1990-03-16 11:55 Vern Paxson + + * ecs.c: Many hacks for NUL's. Hope they're right. + +1990-03-16 11:53 Vern Paxson + + * tblcmp.c: Minor tweaks for NUL's. + +1990-03-16 11:53 Vern Paxson + + * scan.l: no changes -- had checked out for testing smaller read + buffer sizes + +1990-03-16 11:52 Vern Paxson + + * parse.y: Nuked some extraneous whitespace. NUL's hacks. + +1990-03-16 11:52 Vern Paxson + + * nfa.c: hack for NUL's. + +1990-03-16 11:51 Vern Paxson + + * misc.c: Hack to cshell for NUL's. + +1990-03-16 11:51 Vern Paxson + + * main.c: NUL's. -8 + +1990-03-16 11:51 Vern Paxson + + * gen.c: NUL's. + +1990-03-16 11:50 Vern Paxson + + * flexdef.h: NUL's. 8-bit chars. + +1990-03-16 11:50 Vern Paxson + + * flex.skl: NUL's; indenting + +1990-03-16 11:50 Vern Paxson + + * dfa.c: more thrashing around with NUL's + +1990-03-16 11:49 Vern Paxson + + * ccl.c: removed NUL hack + +1990-03-14 08:41 Vern Paxson + + * yylex.c: Added <> token + +1990-03-14 08:39 Vern Paxson + + * ecs.c, flexdef.h: Tweaks for NUL chars. + +1990-03-14 08:39 Vern Paxson + + * dfa.c, gen.c, main.c, misc.c, parse.y, scan.l, tblcmp.c: Tweaks + for NUL chars. + +1990-03-14 08:39 Vern Paxson + + * ccl.c: Tweaks for handling NUL's. + +1990-02-28 13:10 Vern Paxson + + * flex.1: [no log message] + +1990-02-28 11:59 Vern Paxson + + * flex.1: Changed .so options.man to inlined version since flex.1 + will have a different (shorter) options description. + +1990-02-28 10:09 Vern Paxson + + * flex.1: [no log message] + +1990-02-28 06:10 Vern Paxson + + * flex.1: [no log message] + +1990-02-26 12:59 Vern Paxson + + * flex.1: [no log message] + +1990-02-25 14:47 Vern Paxson + + * flex.1: [no log message] + +1990-02-24 20:28 Vern Paxson + + * flex.1: Initial revision + +1990-01-16 06:17 Vern Paxson + + * gen.c: Restored EOB accepting list for REJECT. Second try at 2.2 + Release. + +1990-01-16 05:39 Vern Paxson + + * misc.c: Added missing ',' in error message. 2.2 Release, second + try. + +1990-01-16 05:29 Vern Paxson + + * yylex.c: 8-bit char support. 2.2 Release. + +1990-01-15 13:02 Vern Paxson + + * scan.l: 8-bit char support. Arbitrary indented/%{} code allowed + in section 2. \x escapes. %t support. Minor POSIX-compliance + changes. BEGIN(0) -> BEGIN(INITIAL). yywrap() and + set_input_file() for multiple input files. C_COMMENT_2 removed. + 2.2 Release. + +1990-01-15 13:00 Vern Paxson + + * flexdef.h: 8-bit char support. SYS_V / Atari portability fixes. + Removed generated array names. CSIZE now only defined if not + already defined. Added "csize" global. Added "input_files", + "num_input_files", and "program_name" globals. %t support globals. + 2.2 Release. + +1990-01-15 12:58 Vern Paxson + + * gen.c: Removed unused EOB_accepting_list array. 2.2 Release. + +1990-01-15 12:53 Vern Paxson + + * gen.c: Bug in -F table generation fixed. 8-bit char support. + Hardwired generated array names. "const"'s added to generated + code. Fixed yymore() / trailing context bug. + +1990-01-15 12:53 Vern Paxson + + * parse.y: 8-bit char support. Error-message pinpointing. 2.2 + Release. + +1990-01-15 12:49 Vern Paxson + + * main.c: Unsigned char support. %t support. Removed hard-wiring + of program name "flex". -c changed to -C; -c now deprecated. -n + added. :-( Multiple input files. SYSV tmpnam() use. Removed old + #define's from output. Identified error messages w/ filename and + line. 2.2 Release. + +1990-01-15 12:49 Vern Paxson + + * sym.c: Unsigned char support. 2.2 Release. + +1990-01-15 12:48 Vern Paxson + + * nfa.c: Removed redundant test. 2.2 Release. + +1990-01-15 12:48 Vern Paxson + + * misc.c: Unsigned char support. \x support. 2.2 Release. + +1990-01-15 12:47 Vern Paxson + + * tblcmp.c: 8-bit char support. 2.2 Release. + +1990-01-15 12:44 Vern Paxson + + * flex.skl: C++ support. Turbo-C support. 8-bit char support. + yyleng is an int. unput() callable in section 3. yymore hacks. + yyrestart() no longer closes stdin. 2.2 Release. + +1990-01-15 12:41 Vern Paxson + + * ecs.c: %t support. 8-bit/unsigned char support. 2.2 Release. + +1990-01-15 12:40 Vern Paxson + + * dfa.c: %t hacks. minor cosmetics. 2.2 Relase. + +1990-01-15 12:37 Vern Paxson + + * ccl.c: Changes for unsigned/8-bit chars. 2.2 Release. + +1990-01-10 10:10 Vern Paxson + + * libmain.c: Initial revision + +1989-12-30 10:34 Vern Paxson + + * nfa.c: removed gratuitous trailing context code + +1989-12-30 10:34 Vern Paxson + + * main.c: made -c case-sensitive + +1989-12-30 10:33 Vern Paxson + + * flex.skl: unput() bug fix + +1989-12-30 10:32 Vern Paxson + + * README: [no log message] + +1989-06-20 13:24 Vern Paxson + + * scan.l: changed to not use '|' and trailing context combo so + users can test using -F ... + +1989-06-20 13:23 Vern Paxson + + * parse.y: made trailing context combined with '|' warning always + come out + +1989-06-20 13:12 Vern Paxson + + * README: [no log message] + +1989-06-20 12:47 Vern Paxson + + * COPYING: Initial revision + +1989-06-20 12:36 Vern Paxson + + * main.c, README, NEWS: [no log message] + +1989-06-20 12:27 Vern Paxson + + * README: [no log message] + +1989-06-20 12:02 Vern Paxson + + * NEWS, README, main.c: [no log message] + +1989-06-20 11:49 Vern Paxson + + * ccl.c, dfa.c, ecs.c, flex.skl, flexdef.h, gen.c, misc.c, nfa.c, + parse.y, scan.l, sym.c, tblcmp.c, yylex.c: Beta release + +1989-06-20 11:48 Vern Paxson + + * NEWS, README, main.c: 2.1 beta release + +1989-06-20 11:44 Vern Paxson + + * main.c, NEWS: [no log message] + +1989-06-20 11:38 Vern Paxson + + * flex.skl, flexdef.h, gen.c, misc.c, nfa.c, parse.y, scan.l, + sym.c: 2.0.1 beta + +1989-06-20 11:37 Vern Paxson + + * README: [no log message] + +1989-05-25 08:21 Vern Paxson + + * gen.c: fixsed bug with -I and backtracking + +1989-05-25 07:49 Vern Paxson + + * flex.skl: Cleaned up forward declarations of yyunput() and + input() + +1989-05-25 07:48 Vern Paxson + + * parse.y: Split copyright string. + +1989-05-25 07:48 Vern Paxson + + * nfa.c: Split copyright string. Added check for empty machine in + dupmachine(). + +1989-05-25 07:46 Vern Paxson + + * ccl.c, main.c, misc.c, scan.l, ecs.c, sym.c, yylex.c, dfa.c, + tblcmp.c, gen.c: Split copyright string into two to avoid tempting + fate with \ sequences ... + +1989-05-24 08:48 Vern Paxson + + * README: updated for 2nd release Beta test added RCS header + +1989-05-24 07:48 Vern Paxson + + * flexdef.h: removed static char copyright + +1989-05-24 07:45 Vern Paxson + + * flexdef.h: Added BSD copyright notice. Removed + FAST_SKELETON_FILE. + +1989-05-24 07:44 Vern Paxson + + * main.c: added BSD copyright notice. Removed references to + FAST_SKELETON_FILE. + +1989-05-24 07:44 Vern Paxson + + * nfa.c, gen.c, ecs.c: Added BSD copyright notice + +1989-05-24 07:42 Vern Paxson + + * ccl.c, dfa.c, misc.c, yylex.c, sym.c, tblcmp.c, scan.l, parse.y: + added BSD copyright notice + +1989-05-23 20:32 Vern Paxson + + * flex.skl: Initial revision + +1989-05-19 10:13 Vern Paxson + + * yylex.c: renamed accnum to num_rules + +1989-05-19 10:12 Vern Paxson + + * tblcmp.c: moved table generation code to gen.c moved ntod() to + dfa.c + +1989-05-19 10:11 Vern Paxson + + * sym.c: the most piddling format change imaginable + +1989-05-19 10:10 Vern Paxson + + * scan.l: changed to look for yymore, REJECT, %used and %unused + removed gross magic for dealing with section 3 + +1989-05-19 10:08 Vern Paxson + + * nfa.c, parse.y: changes for variable trailing context + +1989-05-19 10:07 Vern Paxson + + * misc.c: added all_lower() and all_upper() + +1989-05-19 10:07 Vern Paxson + + * main.c: added checking for features being Really used + backtracking, performance reports misc. cleanup + +1989-05-19 10:06 Vern Paxson + + * gen.c: major overhaul for merged skeleton + +1989-05-19 10:05 Vern Paxson + + * flexdef.h: a zillion changes/additions/cleanups + +1989-05-19 10:01 Vern Paxson + + * dfa.c: added backtrack report added checking for dangerous + trailing context considerable minor cleanup + +1989-05-19 09:56 Vern Paxson + + * ccl.c: list_character_set() modified to take a FILE to write to + ... + +1989-05-19 09:56 Vern Paxson + + * README: updated for beta release + +1988-11-25 16:30 Vern Paxson + + * main.c: added -p flag generation of #define's for scanner + +1988-11-25 16:28 Vern Paxson + + * flexdef.h: Added END_OF_BUFFER_ACTION and bol_needed + +1988-11-25 16:27 Vern Paxson + + * dfa.c: added ntod() + +1988-05-09 13:01 Vern Paxson + + * gen.c: Initial revision + +1988-05-08 16:13 Vern Paxson + + * yylex.c: RCS header changed display style of non-printings from + ^x to \0xx + +1988-05-08 16:08 Vern Paxson + + * tblcmp.c: RCS header MAX_XTIONS_FOR_FULL_INTERIOR_FIT -> + MAX_XTIONS_FULL_INTERIOR_FIT made back-tracking accepting number be + one greater than the last legit accepting number, instead of 0. + This way, end-of-buffer can take 0 and no negative accepting + numbers are needed. added genftbl() changed last ftl references to + C added check for UNSIGNED_CHAR's added back-track logic to + make_tables() added checking and report for backtracking fixed + fence-post error with onesp stack pointer + +1988-05-08 16:08 Vern Paxson + + * sym.c: RCS header changed "entry" to "sym_entry" to avoid + conflict with old keyword + +1988-05-08 16:07 Vern Paxson + + * scan.l: RCS header removed \^ from ESCSEQ + +1988-05-08 16:06 Vern Paxson + + * parse.y: RCS header bug fix due to missing default rule, could + have to backtrack when backtrack variables haven't been set up + +1988-05-08 16:05 Vern Paxson + + * nfa.c: RCS ident yy_cp, yy_bp support name shortenings assoc_rule + support + +1988-05-08 16:04 Vern Paxson + + * misc.c: RCS header check before malloc()'ing for 16 bit overflow + MS_DOS, VMS ifdef's removed commented-out \^ code removed FTLSOURCE + code added readable_form() + +1988-05-08 16:03 Vern Paxson + + * main.c: Added RCS header removed revision history misc additions + and fixes to globals VMS ifdef's backtracking statistics -p flag + name shortenings + +1988-05-08 15:59 Vern Paxson + + * flexdef.h: removed revision history added RCS header added VMS, + MS_DOS ifdef's removed DEFAULT_ACTION, changed END_OF_BUFFER_ACTION + shortened MAX_XTIONS_FOR_FULL_INTERIOR_FIT to + MAX_XTIONS_FULL_INTERIOR_FIT added MAX_ASSOC_RULES added + performance_report, assoc_rule gloabls added num_backtracking + gloabl shortened allocate_integer_pointer_array, + reallocate_integer_pointer_array + +1988-05-08 15:53 Vern Paxson + + * ecs.c: added RCS id added PROCFLG to avoid assumption of signed + char's + +1988-05-08 15:51 Vern Paxson + + * dfa.c: added RCS id added check_for_backtracking() added + dump_associated_rules() added dump_transitions() shortened + reallocate_integer_pointer_array to reallocate_int_ptr_array + removed some dfaacc_{state,set} abuses + +1988-05-08 15:51 Vern Paxson + + * ccl.c: Added list_character_set() + +1988-05-06 20:06 Vern Paxson + + * ccl.c: added RCS id + +1988-04-10 17:57 Vern Paxson + + * README: minor tweaks + +1988-04-10 17:42 Vern Paxson + + * README: forgot sh flex.shar + +1988-04-10 17:27 Vern Paxson + + * README: final tweaking + +1988-04-10 17:27 Vern Paxson + + * tblcmp.c: removed minor lint fluff + +1988-04-10 17:27 Vern Paxson + + * NEWS: [no log message] + +1988-04-10 16:55 Vern Paxson + + * NEWS, README: Initial revision + +1988-04-10 16:54 Vern Paxson + + * yylex.c: added identifying comment. changed to include "parse.h" + instead of "y.tab.h" + +1988-04-10 16:53 Vern Paxson + + * tblcmp.c: Changed name from flexcmp.c -> tblcmp.c fixed misc. + typos made generating ec tables be a routine + +1988-04-10 16:52 Vern Paxson + + * sym.c: changed name from flexsym.c -> sym.c revamped calling + sequences, etc., for extended table struct definition which now + has both char * and int fields. + +1988-04-10 16:51 Vern Paxson + + * scan.l: Changed name from flexscan.l -> scan.l fixed bug in + added block comments between rules. + +1988-04-10 16:50 Vern Paxson + + * parse.y: changed name from flexparse.y -> parse.y added start + condition "INITIAL" made a{3} have "variable length" + +1988-04-10 16:48 Vern Paxson + + * nfa.c: changed name from flexnfa.c -> nfa.c corrected some typos. + +1988-04-10 16:48 Vern Paxson + + * misc.c: changed name from flexmisc.c -> misc.c + +1988-04-10 16:46 Vern Paxson + + * main.c: fixed bug causing core dumps if skeleton files could not + be opened. Added -cF. Added fullspd to be equivalent to fulltbl + for which options is cannot be mixed with. + +1988-04-10 16:45 Vern Paxson + + * flexdef.h: fixed typos, enhanced symbol table definition. + +1988-04-10 16:42 Vern Paxson + + * ecs.c: changed name from flexecs.c to ecs.c + +1988-04-10 16:42 Vern Paxson + + * dfa.c: changed name from flexdfa.c to dfa.c + +1988-04-10 16:42 Vern Paxson + + * ccl.c: changed name from flexccl.c -> ccl.c + +1988-02-13 06:00 Vern Paxson + + * ccl.c, tblcmp.c, dfa.c, ecs.c, main.c, misc.c, nfa.c, sym.c, + yylex.c, flexdef.h, parse.y, scan.l: Beta Release. + +1987-11-08 17:24 Vern Paxson + + * ccl.c, tblcmp.c, flexdef.h, dfa.c, ecs.c, main.c, misc.c, nfa.c, + parse.y, scan.l, sym.c, yylex.c: Initial revision + Index: contrib/flex/conf.in =================================================================== --- contrib/flex/conf.in (revision 0) +++ contrib/flex/conf.in (working copy) @@ -0,0 +1,197 @@ +/* conf.in. Generated from configure.in by autoheader. */ + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END + +/* Define to 1 if using `alloca.c'. */ +#undef C_ALLOCA + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +#undef ENABLE_NLS + +/* Define to 1 if you have `alloca', as a function or macro. */ +#undef HAVE_ALLOCA + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +#undef HAVE_ALLOCA_H + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the `dup2' function. */ +#undef HAVE_DUP2 + +/* Define to 1 if you have the `fork' function. */ +#undef HAVE_FORK + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define if you have the iconv() function. */ +#undef HAVE_ICONV + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the `isascii' function. */ +#undef HAVE_ISASCII + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIBINTL_H + +/* Define to 1 if you have the `m' library (-lm). */ +#undef HAVE_LIBM + +/* pthread library */ +#undef HAVE_LIBPTHREAD + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIMITS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and + to 0 otherwise. */ +#undef HAVE_MALLOC + +/* Define to 1 if you have the header file. */ +#undef HAVE_MALLOC_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the `memset' function. */ +#undef HAVE_MEMSET + +/* Define to 1 if you have the header file. */ +#undef HAVE_NETINET_IN_H + +/* Define to 1 if you have the `pow' function. */ +#undef HAVE_POW + +/* Define to 1 if you have the header file. */ +#undef HAVE_PTHREAD_H + +/* Define to 1 if your system has a GNU libc compatible `realloc' function, + and to 0 otherwise. */ +#undef HAVE_REALLOC + +/* Define to 1 if you have the `regcomp' function. */ +#undef HAVE_REGCOMP + +/* Define to 1 if you have the `setlocale' function. */ +#undef HAVE_SETLOCALE + +/* Define to 1 if stdbool.h conforms to C99. */ +#undef HAVE_STDBOOL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDDEF_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the `strchr' function. */ +#undef HAVE_STRCHR + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the `strtol' function. */ +#undef HAVE_STRTOL + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have that is POSIX.1 compatible. */ +#undef HAVE_SYS_WAIT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the `vfork' function. */ +#undef HAVE_VFORK + +/* Define to 1 if you have the header file. */ +#undef HAVE_VFORK_H + +/* Define to 1 if `fork' works. */ +#undef HAVE_WORKING_FORK + +/* Define to 1 if `vfork' works. */ +#undef HAVE_WORKING_VFORK + +/* Define to 1 if the system has the type `_Bool'. */ +#undef HAVE__BOOL + +/* Define to the GNU M4 executable name. */ +#undef M4 + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION + +/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a + `char[]'. */ +#undef YYTEXT_POINTER + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to rpl_malloc if the replacement function should be used. */ +#undef malloc + +/* Define to `int' if does not define. */ +#undef pid_t + +/* Define to rpl_realloc if the replacement function should be used. */ +#undef realloc + +/* Define to `unsigned' if does not define. */ +#undef size_t + +/* Define as `fork' if `vfork' does not work. */ +#undef vfork Index: contrib/flex/mkskel.sh =================================================================== --- contrib/flex/mkskel.sh (revision 0) +++ contrib/flex/mkskel.sh (working copy) @@ -0,0 +1,37 @@ +#! /bin/sh + +# This file is part of flex. + +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: + +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. + +# Neither the name of the University nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +# PURPOSE. + +cat <= start; --i ) \ + unput((str)[i]) + +#define CHECK_REJECT(str) \ + if ( all_upper( str ) ) \ + reject = true; + +#define CHECK_YYMORE(str) \ + if ( all_lower( str ) ) \ + yymore_used = true; + +#define YY_USER_INIT \ + if ( getenv("POSIXLY_CORRECT") ) \ + posix_compat = true; + +%} + +%option caseless nodefault stack noyy_top_state +%option nostdinit noreject + +%x SECT2 SECT2PROLOG SECT3 CODEBLOCK PICKUPDEF SC CARETISBOL NUM QUOTE +%x FIRSTCCL CCL ACTION RECOVER COMMENT ACTION_STRING PERCENT_BRACE_ACTION +%x OPTION LINEDIR CODEBLOCK_MATCH_BRACE +%x GROUP_WITH_PARAMS +%x GROUP_MINUS_PARAMS +%x EXTENDED_COMMENT +%x COMMENT_DISCARD + +WS [[:blank:]]+ +OPTWS [[:blank:]]* +NOT_WS [^[:blank:]\r\n] + +NL \r?\n + +NAME ([[:alpha:]_][[:alnum:]_-]*) +NOT_NAME [^[:alpha:]_*\n]+ + +SCNAME {NAME} + +ESCSEQ (\\([^\n]|[0-7]{1,3}|x[[:xdigit:]]{1,2})) + +FIRST_CCL_CHAR ([^\\\n]|{ESCSEQ}) +CCL_CHAR ([^\\\n\]]|{ESCSEQ}) +CCL_EXPR ("[:"^?[[:alpha:]]+":]") + +LEXOPT [aceknopr] + +M4QSTART "[[" +M4QEND "]]" + +%% + static int bracelevel, didadef, indented_code; + static int doing_rule_action = false; + static int option_sense; + + int doing_codeblock = false; + int i, brace_depth=0, brace_start_line=0; + Char nmdef[MAXLINE]; + + +{ + ^{WS} indented_code = true; BEGIN(CODEBLOCK); + ^"/*" ACTION_ECHO; yy_push_state( COMMENT ); + ^#{OPTWS}line{WS} yy_push_state( LINEDIR ); + ^"%s"{NAME}? return SCDECL; + ^"%x"{NAME}? return XSCDECL; + ^"%{".*{NL} { + ++linenum; + line_directive_out( (FILE *) 0, 1 ); + indented_code = false; + BEGIN(CODEBLOCK); + } + ^"%top"[[:blank:]]*"{"[[:blank:]]*{NL} { + brace_start_line = linenum; + ++linenum; + buf_linedir( &top_buf, infilename?infilename:"", linenum); + brace_depth = 1; + yy_push_state(CODEBLOCK_MATCH_BRACE); + } + + ^"%top".* synerr( _("malformed '%top' directive") ); + + {WS} /* discard */ + + ^"%%".* { + sectnum = 2; + bracelevel = 0; + mark_defs1(); + line_directive_out( (FILE *) 0, 1 ); + BEGIN(SECT2PROLOG); + return SECTEND; + } + + ^"%pointer".*{NL} yytext_is_array = false; ++linenum; + ^"%array".*{NL} yytext_is_array = true; ++linenum; + + ^"%option" BEGIN(OPTION); return OPTION_OP; + + ^"%"{LEXOPT}{OPTWS}[[:digit:]]*{OPTWS}{NL} ++linenum; /* ignore */ + ^"%"{LEXOPT}{WS}.*{NL} ++linenum; /* ignore */ + + /* xgettext: no-c-format */ + ^"%"[^sxaceknopr{}].* synerr( _( "unrecognized '%' directive" ) ); + + ^{NAME} { + if(yyleng < MAXLINE) + { + strcpy( nmstr, yytext ); + } + else + { + synerr( _("Input line too long\n")); + FLEX_EXIT(EXIT_FAILURE); + } + + didadef = false; + BEGIN(PICKUPDEF); + } + + {SCNAME} RETURNNAME; + ^{OPTWS}{NL} ++linenum; /* allows blank lines in section 1 */ + {OPTWS}{NL} ACTION_ECHO; ++linenum; /* maybe end of comment line */ +} + + +{ + "*/" ACTION_ECHO; yy_pop_state(); + "*" ACTION_ECHO; + {M4QSTART} ACTION_ECHO_QSTART; + {M4QEND} ACTION_ECHO_QEND; + [^*\n] ACTION_ECHO; + {NL} ++linenum; ACTION_ECHO; +} + +{ + /* This is the same as COMMENT, but is discarded rather than output. */ + "*/" yy_pop_state(); + "*" ; + [^*\n] ; + {NL} ++linenum; +} + +{ + ")" yy_pop_state(); + [^\n\)]+ ; + {NL} ++linenum; +} + +{ + \n yy_pop_state(); + [[:digit:]]+ linenum = myctoi( yytext ); + + \"[^"\n]*\" { + flex_free( (void *) infilename ); + infilename = copy_string( yytext + 1 ); + infilename[strlen( infilename ) - 1] = '\0'; + } + . /* ignore spurious characters */ +} + +{ + ^"%}".*{NL} ++linenum; BEGIN(INITIAL); + + {M4QSTART} ACTION_ECHO_QSTART; + {M4QEND} ACTION_ECHO_QEND; + . ACTION_ECHO; + + {NL} { + ++linenum; + ACTION_ECHO; + if ( indented_code ) + BEGIN(INITIAL); + } +} + +{ + "}" { + if( --brace_depth == 0){ + /* TODO: Matched. */ + yy_pop_state(); + }else + buf_strnappend(&top_buf, yytext, yyleng); + } + + "{" { + brace_depth++; + buf_strnappend(&top_buf, yytext, yyleng); + } + + {NL} { + ++linenum; + buf_strnappend(&top_buf, yytext, yyleng); + } + + {M4QSTART} buf_strnappend(&top_buf, escaped_qstart, strlen(escaped_qstart)); + {M4QEND} buf_strnappend(&top_buf, escaped_qend, strlen(escaped_qend)); + + [^{}\r\n] { + buf_strnappend(&top_buf, yytext, yyleng); + } + + <> { + linenum = brace_start_line; + synerr(_("Unmatched '{'")); + yyterminate(); + } +} + + +{ + {WS} /* separates name and definition */ + + {NOT_WS}[^\r\n]* { + if(yyleng < MAXLINE) + { + strcpy( (char *) nmdef, yytext ); + } + else + { + synerr( _("Input line too long\n")); + FLEX_EXIT(EXIT_FAILURE); + } + /* Skip trailing whitespace. */ + for ( i = strlen( (char *) nmdef ) - 1; + i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t'); + --i ) + ; + + nmdef[i + 1] = '\0'; + + ndinstal( nmstr, nmdef ); + didadef = true; + } + + {NL} { + if ( ! didadef ) + synerr( _( "incomplete name definition" ) ); + BEGIN(INITIAL); + ++linenum; + } +} + + +