Add #load to package odin/parser

This commit is contained in:
gingerBill
2019-04-21 22:36:52 +01:00
parent 9ce8f124bb
commit 45fbc4e8c5

View File

@@ -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;