Stupid git didn't commit the files I told it to.

This commit is contained in:
David Given 2022-07-17 14:53:48 +02:00
parent 1ee6efabb0
commit 90c6f0274a
6 changed files with 22 additions and 22 deletions

View file

@ -1,10 +1,10 @@
definerule("yacc",
definerule("bison",
{
srcs = { type="targets" },
commands = {
type="strings",
default={
"yacc -t -b %{dir}/y -d %{ins}"
"bison -t -b %{dir}/y -d %{ins}"
}
},
},

View file

@ -1,4 +1,4 @@
include("first/yacc.lua")
include("first/bison.lua")
definerule("build_as",
{
@ -15,7 +15,7 @@ definerule("build_as",
}
local preprocessedy = cppfile {
name = e.name.."/yaccinput",
name = e.name.."/bisoninput",
srcs = { "mach/proto/as/comm2.y" },
outleaf = "comm2.y",
deps = {
@ -27,8 +27,8 @@ definerule("build_as",
},
}
local yaccfiles = yacc {
name = e.name.."/yacc",
local bisonfiles = bison {
name = e.name.."/bison",
srcs = { preprocessedy }
}
@ -41,14 +41,14 @@ definerule("build_as",
"mach/proto/as/comm6.c",
"mach/proto/as/comm7.c",
"mach/proto/as/comm8.c",
matching(filenamesof(yaccfiles), "%.c$")
matching(filenamesof(bisonfiles), "%.c$")
),
deps = {
"h+emheaders",
"modules/src/object+lib",
"modules/src/flt_arith+lib",
archlib,
yaccfiles,
bisonfiles,
e.deps
}
}

View file

@ -1,6 +1,6 @@
include("first/yacc.lua")
include("first/bison.lua")
local cggparser = yacc {
local cggparser = bison {
name = "cggparser",
srcs = { "./bootgram.y" }
}

View file

@ -1,4 +1,4 @@
include("first/yacc.lua")
include("first/bison.lua")
flex {
name = "flex",
@ -7,8 +7,8 @@ flex {
}
}
yacc {
name = "yacc",
bison {
name = "bison",
srcs = {
"./gram.y",
}
@ -47,12 +47,12 @@ cprogram {
srcs = {
"./iburg.c",
matching(filenamesof("+flex"), "%.c$"),
matching(filenamesof("+yacc"), "%.c$")
matching(filenamesof("+bison"), "%.c$")
},
deps = {
"./iburg.h",
"+lib",
"+yacc",
"+bison",
"modules/src/data+lib",
"modules+headers",
}

View file

@ -1,6 +1,6 @@
include("first/yacc.lua")
include("first/bison.lua")
local cggparser = yacc {
local cggparser = bison {
name = "cggparser",
srcs = { "./cgg.y" }
}

View file

@ -1,7 +1,7 @@
include("first/yacc.lua")
include("first/bison.lua")
yacc {
name = "yacc",
bison {
name = "bison",
srcs = { "./mktab.y" }
}
@ -19,13 +19,13 @@ local headers = {
cprogram {
name = "mktab",
srcs = {
matching(filenamesof("+yacc"), "%.c$"),
matching(filenamesof("+bison"), "%.c$"),
matching(filenamesof("+flex"), "%.c$"),
},
deps = concat(
headers,
"+flex",
"+yacc",
"+bison",
"modules/src/em_data+lib"
)
}