aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-07-08 15:51:55 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2020-07-08 15:51:55 -0300
commit6f5bd5072dff07679c390eecfeaa9d20cc45a9ef (patch)
treee7025f2595fe225b165b6a9daae53c86013139ca /makefile
parent56ec4322817b0e9aef6084c278dcf24fda7bed1c (diff)
downloadlua-6f5bd5072dff07679c390eecfeaa9d20cc45a9ef.tar.gz
lua-6f5bd5072dff07679c390eecfeaa9d20cc45a9ef.tar.bz2
lua-6f5bd5072dff07679c390eecfeaa9d20cc45a9ef.zip
Macro LUAI_ASSERT eases turning assertions on
Diffstat (limited to 'makefile')
-rw-r--r--makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/makefile b/makefile
index ecc42919..7af55332 100644
--- a/makefile
+++ b/makefile
@@ -38,6 +38,7 @@ CWARNSC= -Wdeclaration-after-statement \
38CWARNS= $(CWARNSCPP) $(CWARNSC) 38CWARNS= $(CWARNSCPP) $(CWARNSC)
39 39
40# Some useful compiler options for internal tests: 40# Some useful compiler options for internal tests:
41# -DLUAI_ASSERT turns on all assertions inside Lua.
41# -DHARDSTACKTESTS forces a reallocation of the stack at every point where 42# -DHARDSTACKTESTS forces a reallocation of the stack at every point where
42# the stack can be reallocated. 43# the stack can be reallocated.
43# -DHARDMEMTESTS forces a full collection at all points where the collector 44# -DHARDMEMTESTS forces a full collection at all points where the collector