浏览代码

minor : allow uppercased cond. compilation flags

Nicolas Cannasse 19 年之前
父节点
当前提交
243178817c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      parser.ml

+ 1 - 1
parser.ml

@@ -514,7 +514,7 @@ let parse code file =
 
 	and enter_macro() =
 		match Lexer.token code with
-		| (Const (Ident s),p) ->
+		| (Const (Ident s),p) | (Const (Type s),p) ->
 			if s = "error" then error Unimplemented p;
 			if Plugin.defined s then
 				mstack := p :: !mstack