Removed struct keyword
This commit is contained in:
examples/point
lib/sys
src
errors
scanner
token
tests
@ -24,12 +24,12 @@ main() {
|
||||
assert b.y == 4
|
||||
}
|
||||
|
||||
struct Allocator {
|
||||
Allocator {
|
||||
block *any
|
||||
current int
|
||||
}
|
||||
|
||||
struct Point {
|
||||
Point {
|
||||
x int
|
||||
y int
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
import sys
|
||||
|
||||
struct Struct {
|
||||
Struct {
|
||||
func *any
|
||||
}
|
||||
|
||||
|
@ -3,6 +3,6 @@ main() {
|
||||
c.value += 16
|
||||
}
|
||||
|
||||
struct Counter {
|
||||
Counter {
|
||||
value int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
struct Point {
|
||||
Point {
|
||||
x int
|
||||
y int
|
||||
}
|
||||
|
Reference in New Issue
Block a user