aboutsummaryrefslogtreecommitdiff
path: root/06/main.l
diff options
context:
space:
mode:
Diffstat (limited to '06/main.l')
-rw-r--r--06/main.l15
1 files changed, 15 insertions, 0 deletions
diff --git a/06/main.l b/06/main.l
new file mode 100644
index 0000000..d2eded0
--- /dev/null
+++ b/06/main.l
@@ -0,0 +1,15 @@
1%{
2#include <stdlib.h>
3%}
4
5%%
6
7a return A;
8b return B;
9. return yytext[0];
10\n return 0;
11%%
12
13int yywrap() {
14 return 1;
15}