From f415e05f312eb9bf5840d2f688c1d611b37977b4 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Thu, 19 Oct 2023 09:18:07 -0400 Subject: [PATCH] depgen: Remove lax symbol concept I had to dig through the old repository (prior to extracting into this one) to see why this was introduced. It seems that it was for the linker, and TAMER's linker has no concept of lax symbols, so this is not used. To make matters worse, the code I modified here could not have worked (in depgen) because `$syms/@name` _will always have a value_. Anyway, removing this has no effect on the compiled packages. DEV-15114 --- src/current/compiler/map.xsl | 6 +++--- src/current/include/depgen.xsl | 28 ++-------------------------- 2 files changed, 5 insertions(+), 29 deletions(-) diff --git a/src/current/compiler/map.xsl b/src/current/compiler/map.xsl index bc75214b..77e23936 100644 --- a/src/current/compiler/map.xsl +++ b/src/current/compiler/map.xsl @@ -319,7 +319,7 @@ @@ -378,7 +378,7 @@ and root(.)/@lvmc:type = 'retmap' ]" mode="preproc:depgen" priority="6"> - + @@ -596,7 +596,7 @@ mode="preproc:depgen" priority="6"> - + diff --git a/src/current/include/depgen.xsl b/src/current/include/depgen.xsl index 93d5aaae..e1dcdd18 100644 --- a/src/current/include/depgen.xsl +++ b/src/current/include/depgen.xsl @@ -149,7 +149,7 @@ select="$symtable-map( $name )" /> - + [depgen] internal error: could not locate dependency symbol ` @@ -159,12 +159,8 @@ - - - - + @@ -178,27 +174,7 @@ - - - - - - - - - - -