Initial ensom
This commit is contained in:
@@ -643,6 +643,7 @@ precedence :: (parse_state : *Parser, precedence : Precedence, message : string
|
||||
|
||||
while precedence <= get_rule(parse_state.current.kind).precedence {
|
||||
advance(parse_state);
|
||||
|
||||
if parse_state.current.kind == .TOKEN_EOF {
|
||||
tok_s : string;
|
||||
tok_s.data = parse_state.previous.source;
|
||||
|
||||
8
test/dangling_dot.ink
Normal file
8
test/dangling_dot.ink
Normal file
@@ -0,0 +1,8 @@
|
||||
Foo :: struct {
|
||||
v : float2;
|
||||
}
|
||||
|
||||
vertex main :: () {
|
||||
f : Foo;
|
||||
f..v.x = 0.0;
|
||||
}
|
||||
Reference in New Issue
Block a user