Flex / Bison Project Template, Flex lexer source file.
Save this source to a file named
fbproject.l in the same directory as other project template files.
This file defines a Flex based lexer which along with the
Bison parser source and
Makefile will allow you to quickly build a working project template with the essential features required by many projects, as described in the project
README file.
Code:
%{
/* Flex/Bison tutorial skeleton lexer definitions
...