Przeglądaj źródła

[cpp] add INFINITY to the list of remap symbols

Hugh 11 lat temu
rodzic
commit
8dcd17f7ec
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      gencpp.ml

+ 1 - 1
gencpp.ml

@@ -287,7 +287,7 @@ let keyword_remap name =
 	| "BIG_ENDIAN" | "LITTLE_ENDIAN" | "assert" | "NULL" | "wchar_t" | "EOF"
 	| "bool" | "const_cast" | "dynamic_cast" | "explicit" | "export" | "mutable" | "namespace"
 	| "reinterpret_cast" | "static_cast" | "typeid" | "typename" | "virtual"
-	| "_Complex"
+	| "_Complex" | "INFINITY"
 	| "struct" -> "_" ^ name
 	| "asm" -> "_asm_"
 	| x -> x