Attempt to correct file system case sensitivity.
authorDavid Given <dg@cowlark.com>
Sun, 6 Aug 2017 09:15:53 +0000 (11:15 +0200)
committerDavid Given <dg@cowlark.com>
Sun, 6 Aug 2017 09:15:53 +0000 (11:15 +0200)
16 files changed:
lang/m2/comp/build.lua
lang/m2/comp/casestat.xc [moved from lang/m2/comp/casestat.C with 100% similarity]
lang/m2/comp/def.xh [moved from lang/m2/comp/def.H with 100% similarity]
lang/m2/comp/node.xh [moved from lang/m2/comp/node.H with 100% similarity]
lang/m2/comp/real.xh [moved from lang/m2/comp/real.H with 100% similarity]
lang/m2/comp/scope.xc [moved from lang/m2/comp/scope.C with 100% similarity]
lang/m2/comp/tmpvar.xc [moved from lang/m2/comp/tmpvar.C with 100% similarity]
lang/m2/comp/type.xh [moved from lang/m2/comp/type.H with 100% similarity]
lang/pc/comp/build.lua
lang/pc/comp/casestat.xc [moved from lang/pc/comp/casestat.C with 100% similarity]
lang/pc/comp/def.xh [moved from lang/pc/comp/def.H with 100% similarity]
lang/pc/comp/desig.xh [moved from lang/pc/comp/desig.H with 100% similarity]
lang/pc/comp/node.xh [moved from lang/pc/comp/node.H with 100% similarity]
lang/pc/comp/scope.xh [moved from lang/pc/comp/scope.H with 100% similarity]
lang/pc/comp/tmpvar.xc [moved from lang/pc/comp/tmpvar.C with 100% similarity]
lang/pc/comp/type.xh [moved from lang/pc/comp/type.H with 100% similarity]

index 4e12d24..4909475 100644 (file)
@@ -31,8 +31,8 @@ normalrule {
        }
 }
 
-for _, f in ipairs(filenamesof("./*.H")) do
-       local name = replace(basename(f), "%.H$", "")
+for _, f in ipairs(filenamesof("./*.xh")) do
+       local name = replace(basename(f), "%.xh$", "")
        normalrule {
                name = name.."_h",
                ins = {
@@ -46,8 +46,8 @@ for _, f in ipairs(filenamesof("./*.H")) do
        }
 end
 
-for _, f in ipairs(filenamesof("./*.C")) do
-       local name = replace(basename(f), "%.C$", "")
+for _, f in ipairs(filenamesof("./*.xc")) do
+       local name = replace(basename(f), "%.xc$", "")
        normalrule {
                name = name.."_c",
                ins = {
@@ -65,8 +65,8 @@ normalrule {
        name = "next_c",
        ins = {
                "./make.next",
-               "./*.H",
-               "./*.C",
+               "./*.xh",
+               "./*.xc",
        },
        outleaves = { "next.c" },
        commands = {
similarity index 100%
rename from lang/m2/comp/def.H
rename to lang/m2/comp/def.xh
similarity index 100%
rename from lang/m2/comp/node.H
rename to lang/m2/comp/node.xh
similarity index 100%
rename from lang/m2/comp/real.H
rename to lang/m2/comp/real.xh
similarity index 100%
rename from lang/m2/comp/scope.C
rename to lang/m2/comp/scope.xc
similarity index 100%
rename from lang/m2/comp/tmpvar.C
rename to lang/m2/comp/tmpvar.xc
similarity index 100%
rename from lang/m2/comp/type.H
rename to lang/m2/comp/type.xh
index a2cb9ac..c10c179 100644 (file)
@@ -31,8 +31,8 @@ normalrule {
        }
 }
 
-for _, f in ipairs(filenamesof("./*.H")) do
-       local name = replace(basename(f), "%.H$", "")
+for _, f in ipairs(filenamesof("./*.xh")) do
+       local name = replace(basename(f), "%.xh$", "")
        normalrule {
                name = name.."_h",
                ins = {
@@ -46,8 +46,8 @@ for _, f in ipairs(filenamesof("./*.H")) do
        }
 end
 
-for _, f in ipairs(filenamesof("./*.C")) do
-       local name = replace(basename(f), "%.C$", "")
+for _, f in ipairs(filenamesof("./*.xc")) do
+       local name = replace(basename(f), "%.xc$", "")
        normalrule {
                name = name.."_c",
                ins = {
@@ -65,8 +65,8 @@ normalrule {
        name = "next_c",
        ins = {
                "./make.next",
-               "./*.H",
-               "./*.C",
+               "./*.xh",
+               "./*.xc",
        },
        outleaves = { "next.c" },
        commands = {
similarity index 100%
rename from lang/pc/comp/def.H
rename to lang/pc/comp/def.xh
similarity index 100%
rename from lang/pc/comp/desig.H
rename to lang/pc/comp/desig.xh
similarity index 100%
rename from lang/pc/comp/node.H
rename to lang/pc/comp/node.xh
similarity index 100%
rename from lang/pc/comp/scope.H
rename to lang/pc/comp/scope.xh
similarity index 100%
rename from lang/pc/comp/tmpvar.C
rename to lang/pc/comp/tmpvar.xc
similarity index 100%
rename from lang/pc/comp/type.H
rename to lang/pc/comp/type.xh