Explorar o código

minor : allow uppercased cond. compilation flags

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
243178817c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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