aboutsummaryrefslogtreecommitdiff
path: root/src/build.l
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-21 05:54:52 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-21 05:54:52 +0000
commit4887f62bea708f24e03b3f926f2698c60a94c807 (patch)
tree77271e92cf517cbc2846897f7482c9df5efee124 /src/build.l
parentdf5286fe3bca619beb4771da1ffa8ace9613e9e5 (diff)
downloadbuild-4887f62bea708f24e03b3f926f2698c60a94c807.tar.gz
build-4887f62bea708f24e03b3f926f2698c60a94c807.tar.bz2
build-4887f62bea708f24e03b3f926f2698c60a94c807.tar.xz
build-4887f62bea708f24e03b3f926f2698c60a94c807.zip
Getting there, it compiles, now for the fun sophisticated pieces where the
builder itself tells the lexer which tokens are functions, and which are target types.
Diffstat (limited to '')
-rw-r--r--src/build.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build.l b/src/build.l
index b174681..9a15719 100644
--- a/src/build.l
+++ b/src/build.l
@@ -31,6 +31,7 @@ std::string strbuf;
31"produces" return TOK_PRODUCES; 31"produces" return TOK_PRODUCES;
32"check" return TOK_CHECK; 32"check" return TOK_CHECK;
33"clean" return TOK_CLEAN; 33"clean" return TOK_CLEAN;
34"target" return TOK_TARGET;
34 35
35\n+ { 36\n+ {
36 yylloc->last_line += yyleng; 37 yylloc->last_line += yyleng;