Merge pull request #673 from kevinw/patch-2

add `#config` to odin parser
This commit is contained in:
gingerBill
2020-07-08 23:08:31 +01:00
committed by GitHub

View File

@@ -1914,7 +1914,7 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr {
bd.tok = tok;
bd.name = name.text;
return bd;
case "location", "load", "assert", "defined":
case "location", "load", "assert", "defined", "config":
bd := ast.new(ast.Basic_Directive, tok.pos, end_pos(name));
bd.tok = tok;
bd.name = name.text;