m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/19/b/grammar.l
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-12-25 15:45:54 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-12-25 15:45:54 +0100
commite2e8223c6bd35483a17fd803fc1622a1f09ef80c (patch)
tree38817e96f05cdf7b8aa3a06e364b41936716ec15 /19/b/grammar.l
parentcdb9021fa920744577f65679ef31e81d839b9f2a (diff)
Add day 19
Diffstat (limited to '19/b/grammar.l')
-rw-r--r--19/b/grammar.l11
1 files changed, 11 insertions, 0 deletions
diff --git a/19/b/grammar.l b/19/b/grammar.l
new file mode 100644
index 0000000..6237a66
--- /dev/null
+++ b/19/b/grammar.l
@@ -0,0 +1,11 @@
+%{
+#include "grammar.tab.h"
+%}
+
+%%
+
+a return A;
+b return B;
+\n return EOL;
+
+%%