From 50ec8c1f6541b6664d53cd84b85fee1dad741ddb Mon Sep 17 00:00:00 2001 From: Meyer Simon Date: Tue, 4 Feb 2025 15:52:07 -0500 Subject: [PATCH] Added some boiler plate to the .lex file --- lexicalStructure.lex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lexicalStructure.lex b/lexicalStructure.lex index e69de29..ef648ed 100644 --- a/lexicalStructure.lex +++ b/lexicalStructure.lex @@ -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 +%} +DIGIT [0-9] +ID [a-zA-Z][a-zA-Z0-9]* +%% +//rules +%% +//user code