Commit Graph

16 Commits

Author SHA1 Message Date
Jeff Morriss ff89b6d313 s/fopen()/eth_fopen()/ in an attempt to fix bug 1827: eth_fopen() deals with wide chars for us on Windows while fopen() does not.
svn path=/trunk/; revision=23168
2007-10-12 22:55:17 +00:00
Guy Harris 5be4499ad1 Add a script as a front-end for Flex, to work around various problems,
such as the fact that Flex strips all but the last component of the "-o"
argument, and that it doesn't generate a header file to declare routines
the generated lexical analyzer defines.  Use that script when building
lexical analyzers, and, for each lexical analyzer, include the generated
header file in the generated analyzer.

svn path=/trunk/; revision=22446
2007-08-04 02:13:52 +00:00
Guy Harris 968d363f11 Add comments to various %option items to explain what they're doing.
Move the %options to the beginning if they weren't already there, and
put them in the same order in all files.

Add "prefix=" options to .l files that don't already have them, so we
don't have to pass a "-P" option.

Add "never-interactive" and "noyywrap" options to our lexical analyzers,
to remove extra isatty() checks and to eliminate the need for yywrap()
from the Flex library.

Get rid of %option nostdinit - that's the default.

Add .l.c: rules to Makefile.am files, replacing the rules for specific
.l files.  Have those rules all check that $(LEX) is set.

Update the address for the FSF.

svn path=/trunk/; revision=22424
2007-07-30 20:22:37 +00:00
Guy Harris df08840bbe Get rid of an unused variable.
svn path=/trunk/; revision=20841
2007-02-19 00:46:01 +00:00
Luis Ontanon d9465f6b12 make internal variables static
svn path=/trunk/; revision=20352
2007-01-09 18:34:43 +00:00
Anders Broman 9aa99b16fe Ethereal->Wireshark
svn path=/trunk/; revision=18248
2006-05-29 20:44:06 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Luis Ontanon cff34ee126 Close the files after reading!
svn path=/trunk/; revision=17591
2006-03-11 18:19:48 +00:00
Ronnie Sahlberg f10211313f from albert chan
dont use a variable with the name dirname since it will collide with symbols on some hosts


svn path=/trunk/; revision=16460
2005-11-10 21:52:55 +00:00
Luis Ontanon f7b0c35663 remove file inclusion code altoghether and few other changes
svn path=/trunk/; revision=16145
2005-10-06 18:55:06 +00:00
Luis Ontanon f9a96d8a16 be more flexible in what's a name
svn path=/trunk/; revision=16047
2005-09-28 21:35:14 +00:00
Guy Harris d90a1a4ac6 Make the private variables for various lexical analyzers static, so
that we don't have all the lexical analyzers in libethereal share them
(note that they're already static in radius_dict.l, so they weren't
sharing with any other lexical analyzer), and so that OS X 10.3.9's
run-time linker doesn't get upset at finding them defined in libethereal
and the MATE plugin.

Fix up indentation.

svn path=/trunk/; revision=15961
2005-09-22 18:39:25 +00:00
Luis Ontanon 4c14b12c25 Because there's more than just text in XML...
DTDs are imported to create fields


svn path=/trunk/; revision=15851
2005-09-17 17:05:46 +00:00
Luis Ontanon e95f752afd propperly handle the errors when loading a file fails.
svn path=/trunk/; revision=15751
2005-09-10 18:59:02 +00:00
Luis Ontanon 67b92bc6ff don't use fgets() as MSVC does not implement it. use fgetc instead.
svn path=/trunk/; revision=15750
2005-09-10 18:46:03 +00:00
Luis Ontanon 96326c0b86 the dtd parser (still missing the glue) and few fixes to packet-xml.c
svn path=/trunk/; revision=15745
2005-09-10 17:29:15 +00:00