Selaa lähdekoodia

Clarify comments in Makefile on -DLUAJIT_ENABLE_LUA52COMPAT.

Mike Pall 13 vuotta sitten
vanhempi
commit
0d62e2e1ab
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 4 3
      src/Makefile

+ 4 - 3
src/Makefile

@@ -96,9 +96,10 @@ XCFLAGS=
 # make use of it.
 #XCFLAGS+= -DLUAJIT_DISABLE_FFI
 #
-# Enable some upwards-compatible features from Lua 5.2 that are unlikely
-# to break existing code (e.g. __pairs). Note that this does not provide
-# full compatibility with Lua 5.2 at this time.
+# Features from Lua 5.2 that are unlikely to break existing code are
+# enabled by default. Some other features that *might* break some existing
+# code (e.g. __pairs or os.execute() return values) can be enabled here.
+# Note: this does not provide full compatibility with Lua 5.2 at this time.
 #XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT
 #
 # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter.