aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lstring.h b/lstring.h
index 26f4b8e1..1751e043 100644
--- a/lstring.h
+++ b/lstring.h
@@ -45,7 +45,7 @@
45/* 45/*
46** test whether a string is a reserved word 46** test whether a string is a reserved word
47*/ 47*/
48#define isreserved(s) ((s)->tt == LUA_VSHRSTR && (s)->extra > 0) 48#define isreserved(s) (strisshr(s) && (s)->extra > 0)
49 49
50 50
51/* 51/*