aboutsummaryrefslogtreecommitdiff
path: root/lcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcode.c')
-rw-r--r--lcode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lcode.c b/lcode.c
index a154c339..2d396000 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 2.117 2017/04/26 17:46:52 roberto Exp roberto $ 2** $Id: lcode.c,v 2.118 2017/04/28 20:57:45 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -978,11 +978,11 @@ static void codenot (FuncState *fs, expdesc *e) {
978 978
979 979
980/* 980/*
981** Check whether expression 'e' is a literal string 981** Check whether expression 'e' is a small literal string
982*/ 982*/
983static int isKstr (FuncState *fs, expdesc *e) { 983static int isKstr (FuncState *fs, expdesc *e) {
984 return (e->k == VK && !hasjumps(e) && e->u.info <= MAXARG_C && 984 return (e->k == VK && !hasjumps(e) && e->u.info <= MAXARG_C &&
985 ttisstring(&fs->f->k[e->u.info])); 985 ttisshrstring(&fs->f->k[e->u.info]));
986} 986}
987 987
988 988