Browse Source

[cs/unity] Unity does not support Compiled flag

Cauê Waneck 11 years ago
parent
commit
16b168867a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      std/cs/_std/EReg.hx

+ 2 - 0
std/cs/_std/EReg.hx

@@ -42,8 +42,10 @@ class EReg {
 					isGlobal = true;
 					isGlobal = true;
 				case 'm'.code:
 				case 'm'.code:
 					opts |= cast(Multiline, Int);
 					opts |= cast(Multiline, Int);
+#if (!unity && !unity_std_target)
 				case 'c'.code:
 				case 'c'.code:
 					opts |= cast(Compiled, Int);
 					opts |= cast(Compiled, Int);
+#end
 			}
 			}
 		}
 		}