mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-09 06:23:14 +00:00
Add #load to package odin/parser
This commit is contained in:
@@ -1896,7 +1896,7 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr {
|
||||
bd.tok = tok;
|
||||
bd.name = name.text;
|
||||
return bd;
|
||||
case "location", "assert", "defined":
|
||||
case "location", "load", "assert", "defined":
|
||||
bd := ast.new(ast.Basic_Directive, tok.pos, end_pos(name));
|
||||
bd.tok = tok;
|
||||
bd.name = name.text;
|
||||
|
||||
Reference in New Issue
Block a user