summaryrefslogtreecommitdiff
path: root/grammar/go/Makefile
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-12-13 04:51:45 +0200
committerAdrian Thurston <thurston@colm.net>2019-12-13 04:51:45 +0200
commit402fc46c2a8c8f00c3d5d270ee001ce22776dd41 (patch)
tree77de29c63c6ab3f74bd87c0eff22c3dc3995ad0f /grammar/go/Makefile
parent38d2a988b816471e2cf2f414773470e28b39c93c (diff)
downloadcolm-402fc46c2a8c8f00c3d5d270ee001ce22776dd41.tar.gz
go grammar: added lexical definitions and semi insertion
Ooof this makes a big output file. May need to do something about it. refs #82
Diffstat (limited to 'grammar/go/Makefile')
-rw-r--r--grammar/go/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/grammar/go/Makefile b/grammar/go/Makefile
index f4a39bad..8f5d8447 100644
--- a/grammar/go/Makefile
+++ b/grammar/go/Makefile
@@ -1,14 +1,11 @@
COLM = ../../colm/colm
RAGEL = ../../ragel/ragel
-all: go insert-semi
+all: go
go: go.lm parsego.lm utf8.lm $(COLM)
$(COLM) -o go parsego.lm
-insert-semi: insert-semi.lm
- $(COLM) $<
-
utf8.lm: Makefile utf8pat.rb UnicodeData.txt
echo 'rl unicode_letter /' >utf8.lm
ruby utf8pat.rb 'L[ultmo]' 1 UnicodeData.txt >> utf8.lm