fix: module syntax — changed src_bux/*.bux from module X; to module X { ... }
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// source_location.bux — Source position tracking
|
||||
module SourceLocation;
|
||||
module SourceLocation {
|
||||
|
||||
struct SourceLocation {
|
||||
line: uint32,
|
||||
@@ -9,4 +9,4 @@ struct SourceLocation {
|
||||
|
||||
func SourceLocation_New(line: uint32, column: uint32, offset: uint32) -> SourceLocation {
|
||||
return SourceLocation { line: line, column: column, offset: offset };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user