Added some boiler plate to the .lex file

This commit is contained in:
Meyer Simon
2025-02-04 15:52:07 -05:00
parent d782e55bd6
commit 50ec8c1f65

View File

@ -0,0 +1,13 @@
// Lexical Analysis with Flex (2.6.0) We used some of the code from this manual
// so we placed the citation here.
//definitions
%option noyywrap
%{
#include <typedefs.h>
%}
DIGIT [0-9]
ID [a-zA-Z][a-zA-Z0-9]*
%%
//rules
%%
//user code