about summary refs log tree commit diff stats
path: root/subx/035labels.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-19 21:16:56 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-19 21:17:48 -0800
commita6061b9fd2e1476172ebe67376077bd09b516e41 (patch)
tree091e40b6b630f58f44f3ec4e2c2068585722fde8 /subx/035labels.cc
parente3c331d0a620b172966bd53a76387f1d837ec418 (diff)
downloadmu-a6061b9fd2e1476172ebe67376077bd09b516e41.tar.gz
4754 - allow data segment to refer to variables
Diffstat (limited to 'subx/035labels.cc')
-rw-r--r--subx/035labels.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/035labels.cc b/subx/035labels.cc
index 30a6082e..e07cede8 100644
--- a/subx/035labels.cc
+++ b/subx/035labels.cc
@@ -265,6 +265,6 @@ bar:
   00
 +transform: segment 1 begins at address 0x0a000079
 
-:(before "End num_bytes(curr) Special-cases")
-else if (is_label(curr))
-  ;  // don't count it
+:(before "End size_of(word w) Special-cases")
+else if (is_label(w))
+  return 0;