pedgarcia / cpcsdk

Automatically exported from code.google.com/p/cpcsdk
0 stars 0 forks source link

SJasmPlus problems with modules #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes labels inside modules are compiled as "0" when used in another module.

For example :

module a
test equ 2
endmod

module b
display "value of a.test :",a.test ; ok (displays 2)
data defb a.test ; replaced by 0
endmod

Likely it depends on the pass or something like that... Was fixed in the older 
version that couldn't build as standalone, but I didn't see anything obvious in 
the diff.

Original issue reported on code.google.com by pulkoma...@gmail.com on 2 Jul 2010 at 3:37