Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
a few more NULL's (HH) -- trunk
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7136 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Apr 23, 2019
1 parent 3a49e9a commit 342bdbe
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions source/texk/web2c/luatexdir/lua/lnewtokenlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ static int run_scan_list(lua_State * L)

static int get_meaning(lua_State * L)
{
const char *name = null;
const char *name = NULL;
size_t lname = 0;
int cs, cmd;
if (lua_type(L, 1) == LUA_TSTRING) {
Expand All @@ -1065,7 +1065,7 @@ static int get_meaning(lua_State * L)

static int get_macro(lua_State * L)
{
const char *name = null;
const char *name = NULL;
size_t lname = 0;
int cs, cmd;
if (lua_type(L, 1) == LUA_TSTRING) {
Expand All @@ -1092,8 +1092,8 @@ static int get_macro(lua_State * L)

static int set_lua(lua_State *L)
{
const char *name = null;
const char *s = null;
const char *name = NULL;
const char *s = NULL;
size_t lname = 0;
int cs;
int n = lua_gettop(L);
Expand All @@ -1105,13 +1105,13 @@ static int set_lua(lua_State *L)
return 0 ;
}
name = lua_tolstring(L, 1, &lname);
if (name == null) {
if (name == NULL) {
return 0 ;
}
f = lua_tointeger(L, 2);
if (n > 2) {
s = lua_tostring(L, 3);
if (s) {
if (s != NULL) {
if (lua_key_eq(s, global)) {
a = 4;
} else if (lua_key_eq(s, protected)) {
Expand All @@ -1120,7 +1120,7 @@ static int set_lua(lua_State *L)
}
if (n > 3) {
s = lua_tostring(L, 4);
if (s) {
if (s != NULL) {
if (lua_key_eq(s, global)) {
a = 4;
} else if (lua_key_eq(s, protected)) {
Expand All @@ -1142,9 +1142,9 @@ static int set_lua(lua_State *L)

static int set_macro(lua_State * L)
{
const char *name = null;
const char *str = null;
const char *s = null;
const char *name = NULL;
const char *str = NULL;
const char *s = NULL;
size_t lname = 0;
size_t lstr = 0;
int cs, cc, ct;
Expand All @@ -1171,10 +1171,10 @@ static int set_macro(lua_State * L)
if (n > 2)
s = lua_tostring(L, 3);
}
if (name == null) {
if (name == NULL) {
return 0 ;
}
if (s && (lua_key_eq(s, global))) {
if ((s != NULL) && (lua_key_eq(s, global))) {
a = 4;
}
no_new_control_sequence = false ;
Expand Down Expand Up @@ -1261,8 +1261,8 @@ static int set_macro(lua_State * L)

static int set_char(lua_State * L)
{
const char *name = null;
const char *s = null;
const char *name = NULL;
const char *s = NULL;
size_t lname = 0;
int cs, value;
int n = lua_gettop(L);
Expand All @@ -1278,7 +1278,7 @@ static int set_char(lua_State * L)
return 0;
if (n > 2)
s = lua_tostring(L, 3);
if (s && (lua_key_eq(s, global))) {
if ((s != NULL) && (lua_key_eq(s, global))) {
a = 4;
}
no_new_control_sequence = false ;
Expand Down
4 changes: 2 additions & 2 deletions source/texk/web2c/luatexdir/luatex.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/

int luatex_version = 110;
int luatex_revision = '0';
const char *luatex_version_string = "1.10.0";
int luatex_revision = '1';
const char *luatex_version_string = "1.10.1";
const char *engine_name = my_name;

#include <kpathsea/c-ctype.h>
Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/luatex_svnversion.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define luatex_svn_revision 7131
#define luatex_svn_revision 7132

0 comments on commit 342bdbe

Please sign in to comment.