aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-03-07 23:08:09 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-03-07 23:08:09 +0200
commit5f4505729ff5677d62495dcc78acf7eedfc1c90d (patch)
tree657c799842bf8cc669a60003629dad09cca0b587
parente8c440a6136db3a1b7503e5224474b3b7f03363e (diff)
downloadegawk-5f4505729ff5677d62495dcc78acf7eedfc1c90d.tar.gz
egawk-5f4505729ff5677d62495dcc78acf7eedfc1c90d.tar.bz2
egawk-5f4505729ff5677d62495dcc78acf7eedfc1c90d.zip
helpers/fixdump.awk: Remove extraneous spaces in converted output.
-rw-r--r--helpers/ChangeLog5
-rw-r--r--helpers/fixdump.awk2
2 files changed, 7 insertions, 0 deletions
diff --git a/helpers/ChangeLog b/helpers/ChangeLog
index 3215d159..ed6b7adc 100644
--- a/helpers/ChangeLog
+++ b/helpers/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-07 Arnold D. Robbins <arnold@skeeve.com>
+
+ * fixdump.awk (translate): Remove extraneous spaces in
+ prints of code targets.
+
2015-08-28 Daniel Richard G. <skunk@iSKUNK.ORG>
* testdfa.c: Define and use the USE_EBCDIC cpp symbol
diff --git a/helpers/fixdump.awk b/helpers/fixdump.awk
index b03f03f7..d0190969 100644
--- a/helpers/fixdump.awk
+++ b/helpers/fixdump.awk
@@ -65,5 +65,7 @@ function translate(line, n, data, seps, i, newline)
gsub(seps[i], Newaddr[seps[i]], newline)
}
+ gsub(/ = +/, " = ", newline)
+
print newline
}