aboutsummaryrefslogtreecommitdiff
path: root/ABC
diff options
context:
space:
mode:
authorCamil Staps2018-09-23 14:26:48 +0200
committerCamil Staps2018-09-23 14:26:48 +0200
commit215d124c17dd08f4114204cd12c66a3659605aed (patch)
tree395f28ba714a1c6d5e34478f915c9c61ffa47258 /ABC
parentFix compilation error (diff)
Export labels by default
Diffstat (limited to 'ABC')
-rw-r--r--ABC/Assembler.icl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ABC/Assembler.icl b/ABC/Assembler.icl
index 5dec73f..c0a6546 100644
--- a/ABC/Assembler.icl
+++ b/ABC/Assembler.icl
@@ -16,7 +16,7 @@ where
instance <<< Assembler
where
<<< f [ ] = f
- <<< f [stm=:(Label _) :r] = f <<< stm <<< "\r\n" <<< r
+ <<< f [stm=:(Label l) :r] = f <<< ".export " <<< l <<< "\r\n" <<< stm <<< "\r\n" <<< r
<<< f [stm=:(Descriptor _ _ _ _):r] = f <<< r
<<< f [stm=:(Annotation _) :r] = f <<< stm <<< "\r\n" <<< r
<<< f [stm=:(Raw _) :r] = f <<< stm <<< "\r\n" <<< r