From 0d62e2e1ab450a2d2d2291dc9da43606bd573bf7 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 4 Oct 2012 13:55:34 +0200 Subject: [PATCH] Clarify comments in Makefile on -DLUAJIT_ENABLE_LUA52COMPAT. --- src/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 8b7218e7..278324a1 100644 --- a/src/Makefile +++ b/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.