flex/examples
Akim Demaille 004399be12 Replaced FLEX_STD macro with std::.
The std:: construct exists as of C++98, so we can simply assume it is
supported.
2015-12-05 05:46:19 -05:00
..
2012-07-23 05:37:37 -04:00
2001-05-01 20:47:11 +00:00
2002-03-05 14:49:29 +00:00
2001-05-01 20:47:11 +00:00

This directory contains some examples of what you can do with
flex. These files are not tested regularly so you might have to tinker
a bit before they work for you. Updates, new files and patches are welcome.

	- debflex.awk, an awk script for anotating flex debug output.
	  It presently only works with gawk and mawk, not with "old"
	  or "new" awk.

	- testxxLexer.l, a sample C++ program that uses flex's scanner
	  class option ("-+").

	- fastwc/, a subdirectory containing examples of how to use flex
	  to write progressively higher-performance versions of the Unix
	  "wc" utility.  This certainly should work with 2.5, but hasn't
	  been tested.