Added some boiler plate to the .lex file
This commit is contained in:
1 parent
d782e55bd6
commit
50ec8c1f65
1 file changed
+13
@@ -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
|
||||||
Reference in new issue
Block a user