mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 23:29:55 +00:00
39 lines
361 B
Lua
39 lines
361 B
Lua
%zeropage full
|
|
%address 33
|
|
%option enable_floats
|
|
%option enable_floats
|
|
|
|
~ extra {
|
|
; this is imported
|
|
|
|
X = 42
|
|
return 44
|
|
}
|
|
|
|
~ extra2 {
|
|
; this is imported
|
|
|
|
X = 42
|
|
return 44
|
|
|
|
label_in_extra2:
|
|
X = 33
|
|
return
|
|
|
|
sub sub_in_extra2() -> () {
|
|
return
|
|
}
|
|
sub another_sub_in_extra2() -> () {
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
~ main2 {
|
|
; this is imported
|
|
|
|
X = 42
|
|
return 44
|
|
}
|
|
|