parser/lexer.ll
changeset 37 0fbbe329c3a2
parent 36 f52a9deddfc0
child 38 48f6f3918b82
deleted file mode 100644
--- a/parser/lexer.ll
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * test/demos/parser/lexer.ll
- * Copyright (C) 2008 Markus Broeker
- */
-
-%{
-	#include <stdio.h>
-	#include "parser.h"
-%}
-
-%%
-
-[0-9]+			{ yylval = atoi(yytext); return DIGIT;    }
-[a-zA-Z]		{ yylval = yytext[0]; return LETTER;      }
-"+"			return PLUS;	     
-"-"			return MINUS;       
-"*"			return MUL;         
-"/"			return DIV;       
-"("|")"|"="		return yytext[0]; 
-[ \t]+			;
-\n			return yytext[0];
-.			printf("FEHLER: %s\n", yytext);
-%%