Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
fdf9d455
Commit
fdf9d455
authored
May 11, 2015
by
Ben Murphy
Committed by
antirez
Jun 03, 2015
Browse files
disable loading lua bytecode
parent
357a40c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
deps/lua/src/ldo.c
View file @
fdf9d455
...
@@ -495,7 +495,7 @@ static void f_parser (lua_State *L, void *ud) {
...
@@ -495,7 +495,7 @@ static void f_parser (lua_State *L, void *ud) {
struct
SParser
*
p
=
cast
(
struct
SParser
*
,
ud
);
struct
SParser
*
p
=
cast
(
struct
SParser
*
,
ud
);
int
c
=
luaZ_lookahead
(
p
->
z
);
int
c
=
luaZ_lookahead
(
p
->
z
);
luaC_checkGC
(
L
);
luaC_checkGC
(
L
);
tf
=
(
(
c
==
LUA_SIGNATURE
[
0
])
?
luaU_undump
:
luaY_parser
)(
L
,
p
->
z
,
tf
=
(
luaY_parser
)(
L
,
p
->
z
,
&
p
->
buff
,
p
->
name
);
&
p
->
buff
,
p
->
name
);
cl
=
luaF_newLclosure
(
L
,
tf
->
nups
,
hvalue
(
gt
(
L
)));
cl
=
luaF_newLclosure
(
L
,
tf
->
nups
,
hvalue
(
gt
(
L
)));
cl
->
l
.
p
=
tf
;
cl
->
l
.
p
=
tf
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment