forked from osmocom/wireshark
Modified the flex scanner to use symbols that start with "dfilter_"
instead of "yy". (dfilter-grammar.y was modified to #define yylex as dfilter_lex). VERSION is no longer needed since the doc/Makefile now uses @VERSION@, passed to it from 'configure'. svn path=/trunk/; revision=469
This commit is contained in:
parent
c0fa3841ee
commit
8b3ee0f761
|
@ -152,11 +152,13 @@ EXTRA_DIST = \
|
|||
print.ps \
|
||||
README.tru64 \
|
||||
README.win32 \
|
||||
rdps.c \
|
||||
VERSION
|
||||
rdps.c
|
||||
|
||||
SUBDIRS = wiretap @SUBDIRS@
|
||||
|
||||
ethereal.1: ethereal doc/ethereal.pod.template
|
||||
(cd doc ; \
|
||||
make ../ethereal.1 )
|
||||
|
||||
dfilter-scanner.c : dfilter-scanner.l
|
||||
$(LEX) -Pdfilter_ -t dfilter-scanner.l > dfilter-scanner.c
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: configure.in,v 1.36 1999/08/11 16:05:11 gram Exp $
|
||||
# $Id: configure.in,v 1.37 1999/08/11 16:25:07 gram Exp $
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(etypes.h)
|
||||
|
||||
|
@ -14,8 +14,10 @@ AC_PROG_RANLIB
|
|||
AC_PROG_YACC
|
||||
AM_PROG_LEX
|
||||
AC_PATH_PROG(PERL_PATH, perl)
|
||||
AC_PATH_PROG(LEX, flex)
|
||||
|
||||
AC_SUBST(PERL_PATH)
|
||||
AC_SUBST(FLEX_PATH)
|
||||
|
||||
|
||||
# If we're running gcc, add '-Wall' to CFLAGS.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
/* dfilter-grammar.y
|
||||
* Parser for display filters
|
||||
*
|
||||
* $Id: dfilter-grammar.y,v 1.5 1999/08/03 15:04:25 gram Exp $
|
||||
* $Id: dfilter-grammar.y,v 1.6 1999/08/11 16:25:07 gram Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@zing.org>
|
||||
|
@ -25,6 +25,8 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#define yylex dfilter_lex
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue