Skip to content

Commit

Permalink
Fix missing /local in make-boot.r
Browse files Browse the repository at this point in the history
Due to the missed /local, the global `data` is overwritten. Currently,
this only results in a weird informational message (compressed code
beeing much larger than the supposedly uncompressed code).

But it also result in the uncompressed original code becoming
unavailable after compression. This is a nuisance, if we want to emit
uncompressed code for whatever reason.
  • Loading branch information
earl committed Dec 31, 2012
1 parent b4e1c4d commit e0154e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/make-boot.r
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ binary-to-c: either system/version/4 = 3 [
]
][
; Other formats (Linux, OpenBSD, etc.):
func [comp-data /local out] [
func [comp-data /local out data] [
out: make string! 4 * (length? comp-data)
forall comp-data [
data: copy/part comp-data 16
Expand Down

0 comments on commit e0154e7

Please sign in to comment.