Browse Source

minor : allow uppercased cond. compilation flags

Nicolas Cannasse 19 năm trước cách đây
mục cha
commit
243178817c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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