Stupid git didn't commit the files I told it to.
This commit is contained in:
parent
1ee6efabb0
commit
90c6f0274a
|
@ -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}"
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
include("first/yacc.lua")
|
||||
include("first/bison.lua")
|
||||
|
||||
local cggparser = yacc {
|
||||
local cggparser = bison {
|
||||
name = "cggparser",
|
||||
srcs = { "./bootgram.y" }
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
include("first/yacc.lua")
|
||||
include("first/bison.lua")
|
||||
|
||||
local cggparser = yacc {
|
||||
local cggparser = bison {
|
||||
name = "cggparser",
|
||||
srcs = { "./cgg.y" }
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue