projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify charset.cpkg a bit
[apps/madmutt.git]
/
tools
/
cpkg2c.mll
diff --git
a/tools/cpkg2c.mll
b/tools/cpkg2c.mll
index
8b3105d
..
57e8258
100644
(file)
--- a/
tools/cpkg2c.mll
+++ b/
tools/cpkg2c.mll
@@
-423,7
+423,7
@@
and ext_bodycode buf = parse
) 0 fn.args);
printf "\n#define RAISE(s) luaL_error(L, (s))\n";
if fn.rettype = [] then (
) 0 fn.args);
printf "\n#define RAISE(s) luaL_error(L, (s))\n";
if fn.rettype = [] then (
- printf "#define RETURN return luaM_ret_%s_%s(L)\n" pkg.name fn.fname
+ printf "#define RETURN
()
return luaM_ret_%s_%s(L)\n" pkg.name fn.fname
) else (
printf "#define RETURN(luaM_x1";
for i = 2 to retlen do printf ", luaM_x%d" i done;
) else (
printf "#define RETURN(luaM_x1";
for i = 2 to retlen do printf ", luaM_x%d" i done;