Skip to content

Commit b5c6570

Browse files
committed
New year (2023)
Also, small tweak in makefile. (-Wsign-compare is already enabled by -Wextra.)
1 parent 7ca8105 commit b5c6570

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

lua.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR
2727
#define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE
28-
#define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2022 Lua.org, PUC-Rio"
28+
#define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2023 Lua.org, PUC-Rio"
2929
#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes"
3030

3131

@@ -496,7 +496,7 @@ struct lua_Debug {
496496

497497

498498
/******************************************************************************
499-
* Copyright (C) 1994-2022 Lua.org, PUC-Rio.
499+
* Copyright (C) 1994-2023 Lua.org, PUC-Rio.
500500
*
501501
* Permission is hereby granted, free of charge, to any person obtaining
502502
* a copy of this software and associated documentation files (the

makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ CWARNSCPP= \
88
-Wfatal-errors \
99
-Wextra \
1010
-Wshadow \
11-
-Wsign-compare \
1211
-Wundef \
1312
-Wwrite-strings \
1413
-Wredundant-decls \
@@ -60,7 +59,7 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC)
6059

6160
# The following options help detect "undefined behavior"s that seldom
6261
# create problems; some are only available in newer gcc versions. To
63-
# use some of them, we also have to define an enrivonment variable
62+
# use some of them, we also have to define an environment variable
6463
# ASAN_OPTIONS="detect_invalid_pointer_pairs=2".
6564
# -fsanitize=undefined
6665
# -fsanitize=pointer-subtract -fsanitize=address -fsanitize=pointer-compare

manual/2html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, Waldemar Celes
3030
<p>
3131
<small>
3232
<a href="http://www.lua.org/copyright.html">Copyright</a>
33-
&copy; 2022 Lua.org, PUC-Rio. All rights reserved.
33+
&copy; 2023 Lua.org, PUC-Rio. All rights reserved.
3434
</small>
3535
<hr>
3636

0 commit comments

Comments
 (0)