mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 04:10:07 +00:00
Support import files as modules (i.e. import only once)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import "other"
|
||||
|
||||
TAU :: 6.28;
|
||||
PI :: PI/2;
|
||||
|
||||
main :: proc() {
|
||||
x : int = 2;
|
||||
x = x * 3;
|
||||
|
||||
y := add(1, x);
|
||||
}
|
||||
Reference in New Issue
Block a user