From 7298be89647d18b49d8fff3678b7854babb2a7d1 Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 16 Jul 2022 13:25:13 +0200 Subject: [PATCH] Move the em_table_lib.lua helper file elsewhere because we're going to need it. --- {modules/src/em_data => h}/em_table_lib.lua | 0 modules/src/em_data/build.lua | 2 +- modules/src/em_data/make_flag_c.lua | 2 +- modules/src/em_data/make_mnem_c.lua | 2 +- modules/src/em_data/make_mnem_h.lua | 2 +- modules/src/em_data/make_pseu_c.lua | 2 +- modules/src/em_data/make_pseu_h.lua | 2 +- modules/src/em_data/make_spec_h.lua | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename {modules/src/em_data => h}/em_table_lib.lua (100%) diff --git a/modules/src/em_data/em_table_lib.lua b/h/em_table_lib.lua similarity index 100% rename from modules/src/em_data/em_table_lib.lua rename to h/em_table_lib.lua diff --git a/modules/src/em_data/build.lua b/modules/src/em_data/build.lua index 2425655ae..a5e8206df 100644 --- a/modules/src/em_data/build.lua +++ b/modules/src/em_data/build.lua @@ -13,7 +13,7 @@ for _, f in ipairs(GENFILES) do name = "em_"..f:gsub("%.", "_"), ins = { "./make_"..f:gsub("%.", "_")..".lua", - "./em_table_lib.lua", + "h/em_table_lib.lua", "h/em_table", -- relative to root, which is a bit evil }, outleaves = { diff --git a/modules/src/em_data/make_flag_c.lua b/modules/src/em_data/make_flag_c.lua index 56614c9a3..302d327d5 100644 --- a/modules/src/em_data/make_flag_c.lua +++ b/modules/src/em_data/make_flag_c.lua @@ -1,4 +1,4 @@ -require "modules.src.em_data.em_table_lib" +require "h.em_table_lib" local specs, pseudos, mnems = load_table() diff --git a/modules/src/em_data/make_mnem_c.lua b/modules/src/em_data/make_mnem_c.lua index 6ff02fa75..0f5d9c5b5 100644 --- a/modules/src/em_data/make_mnem_c.lua +++ b/modules/src/em_data/make_mnem_c.lua @@ -1,4 +1,4 @@ -require "modules.src.em_data.em_table_lib" +require "h.em_table_lib" local specs, pseudos, mnems = load_table() diff --git a/modules/src/em_data/make_mnem_h.lua b/modules/src/em_data/make_mnem_h.lua index 22c1dc235..6dc49df33 100644 --- a/modules/src/em_data/make_mnem_h.lua +++ b/modules/src/em_data/make_mnem_h.lua @@ -1,4 +1,4 @@ -require "modules.src.em_data.em_table_lib" +require "h.em_table_lib" local specs, pseudos, mnems = load_table() diff --git a/modules/src/em_data/make_pseu_c.lua b/modules/src/em_data/make_pseu_c.lua index ca2fc7dd6..391d507bc 100644 --- a/modules/src/em_data/make_pseu_c.lua +++ b/modules/src/em_data/make_pseu_c.lua @@ -1,4 +1,4 @@ -require "modules.src.em_data.em_table_lib" +require "h.em_table_lib" local specs, pseudos, mnems = load_table() diff --git a/modules/src/em_data/make_pseu_h.lua b/modules/src/em_data/make_pseu_h.lua index 8e3b10c5f..24300f99e 100644 --- a/modules/src/em_data/make_pseu_h.lua +++ b/modules/src/em_data/make_pseu_h.lua @@ -1,4 +1,4 @@ -require "modules.src.em_data.em_table_lib" +require "h.em_table_lib" local specs, pseudos, mnems = load_table() diff --git a/modules/src/em_data/make_spec_h.lua b/modules/src/em_data/make_spec_h.lua index 32472b68d..130a5ad07 100644 --- a/modules/src/em_data/make_spec_h.lua +++ b/modules/src/em_data/make_spec_h.lua @@ -1,4 +1,4 @@ -require "modules.src.em_data.em_table_lib" +require "h.em_table_lib" local specs, pseudos, mnems = load_table()