summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-04 15:38:31 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-04 15:38:31 -0200
commit27c6b4d42212eb0da07d9326470220818bb7b75f (patch)
tree8c2617a6a5bb0cfd8bbc75b8aba6e6308a9c8911
parent0bb8eb51517ef63c65fb986d711c3163ad0be38f (diff)
downloadlua-github-27c6b4d42212eb0da07d9326470220818bb7b75f.tar.gz
each .c file defines its own name
-rw-r--r--lapi.c4
-rw-r--r--lauxlib.c4
-rw-r--r--lbaselib.c4
-rw-r--r--lcode.c4
-rw-r--r--ldblib.c4
-rw-r--r--ldebug.c4
-rw-r--r--ldo.c4
-rw-r--r--ldump.c4
-rw-r--r--lfunc.c4
-rw-r--r--lgc.c4
-rw-r--r--liolib.c4
-rw-r--r--llex.c4
-rw-r--r--lmathlib.c4
-rw-r--r--lmem.c4
-rw-r--r--lobject.c4
-rw-r--r--lopcodes.c4
-rw-r--r--lparser.c4
-rw-r--r--lstate.c6
-rw-r--r--lstring.c4
-rw-r--r--lstrlib.c4
-rw-r--r--ltable.c3
-rw-r--r--ltablib.c4
-rw-r--r--ltests.c3
-rw-r--r--ltm.c4
-rw-r--r--lua.c4
-rw-r--r--lundump.c4
-rw-r--r--lvm.c4
-rw-r--r--lzio.c4
28 files changed, 84 insertions, 28 deletions
diff --git a/lapi.c b/lapi.c
index 7e663f05..0dd005c0 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
/*
-** $Id: lapi.c,v 1.224 2002/11/25 17:50:14 roberto Exp roberto $
+** $Id: lapi.c,v 1.225 2002/12/04 17:28:27 roberto Exp roberto $
** Lua API
** See Copyright Notice in lua.h
*/
@@ -8,6 +8,8 @@
#include <assert.h>
#include <string.h>
+#define lapi_c
+
#include "lua.h"
#include "lapi.h"
diff --git a/lauxlib.c b/lauxlib.c
index 4b093676..d64cc2ca 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lauxlib.c,v 1.89 2002/10/22 18:07:55 roberto Exp roberto $
+** $Id: lauxlib.c,v 1.90 2002/11/14 15:41:38 roberto Exp roberto $
** Auxiliary functions for building Lua libraries
** See Copyright Notice in lua.h
*/
@@ -16,6 +16,8 @@
** Any function declared here could be written as an application function.
*/
+#define lauxlib_c
+
#include "lua.h"
#include "lauxlib.h"
diff --git a/lbaselib.c b/lbaselib.c
index 2c233569..8f8b8fe2 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lbaselib.c,v 1.112 2002/11/26 12:53:29 roberto Exp roberto $
+** $Id: lbaselib.c,v 1.113 2002/12/04 15:38:25 roberto Exp roberto $
** Basic library
** See Copyright Notice in lua.h
*/
@@ -11,6 +11,8 @@
#include <stdlib.h>
#include <string.h>
+#define lbaselib_c
+
#include "lua.h"
#include "lauxlib.h"
diff --git a/lcode.c b/lcode.c
index 491adb10..3e22de75 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
/*
-** $Id: lcode.c,v 1.112 2002/10/16 20:40:58 roberto Exp roberto $
+** $Id: lcode.c,v 1.113 2002/11/14 16:15:53 roberto Exp roberto $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -7,6 +7,8 @@
#include <stdlib.h>
+#define lcode_c
+
#include "lua.h"
#include "lcode.h"
diff --git a/ldblib.c b/ldblib.c
index 3ab968c0..130f9f5f 100644
--- a/ldblib.c
+++ b/ldblib.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldblib.c,v 1.72 2002/11/18 15:23:15 roberto Exp roberto $
+** $Id: ldblib.c,v 1.73 2002/11/25 17:47:13 roberto Exp roberto $
** Interface from Lua to its debug API
** See Copyright Notice in lua.h
*/
@@ -9,6 +9,8 @@
#include <stdlib.h>
#include <string.h>
+#define ldblib_c
+
#include "lua.h"
#include "lauxlib.h"
diff --git a/ldebug.c b/ldebug.c
index 0022a628..8bb20f62 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldebug.c,v 1.139 2002/11/25 17:47:13 roberto Exp roberto $
+** $Id: ldebug.c,v 1.140 2002/11/26 08:59:48 roberto Exp roberto $
** Debug Interface
** See Copyright Notice in lua.h
*/
@@ -8,6 +8,8 @@
#include <stdlib.h>
#include <string.h>
+#define ldebug_c
+
#include "lua.h"
#include "lapi.h"
diff --git a/ldo.c b/ldo.c
index 15afc6f1..5ce25b5f 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
/*
-** $Id: ldo.c,v 1.209 2002/11/22 18:01:46 roberto Exp roberto $
+** $Id: ldo.c,v 1.210 2002/12/04 17:28:27 roberto Exp roberto $
** Stack and Call structure of Lua
** See Copyright Notice in lua.h
*/
@@ -9,6 +9,8 @@
#include <stdlib.h>
#include <string.h>
+#define ldo_c
+
#include "lua.h"
#include "ldebug.h"
diff --git a/ldump.c b/ldump.c
index 10e9acd2..0a3b9453 100644
--- a/ldump.c
+++ b/ldump.c
@@ -1,11 +1,13 @@
/*
-** $Id: dump.c,v 1.37 2002/08/07 00:36:03 lhf Exp lhf $
+** $Id: ldump.c,v 1.1 2002/10/25 21:31:28 roberto Exp roberto $
** save bytecodes
** See Copyright Notice in lua.h
*/
#include <stddef.h>
+#define ldump_c
+
#include "lua.h"
#include "lobject.h"
diff --git a/lfunc.c b/lfunc.c
index feb5f29a..bb8a48c2 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
/*
-** $Id: lfunc.c,v 1.62 2002/11/13 11:31:39 roberto Exp roberto $
+** $Id: lfunc.c,v 1.63 2002/11/14 16:15:53 roberto Exp roberto $
** Auxiliary functions to manipulate prototypes and closures
** See Copyright Notice in lua.h
*/
@@ -7,6 +7,8 @@
#include <stdlib.h>
+#define lfunc_c
+
#include "lua.h"
#include "lfunc.h"
diff --git a/lgc.c b/lgc.c
index be6d896e..d20b33c1 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,11 +1,13 @@
/*
-** $Id: lgc.c,v 1.164 2002/11/25 12:38:47 roberto Exp roberto $
+** $Id: lgc.c,v 1.165 2002/12/02 12:06:10 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
#include <string.h>
+#define lgc_c
+
#include "lua.h"
#include "ldebug.h"
diff --git a/liolib.c b/liolib.c
index 2d881875..2d901f93 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
/*
-** $Id: liolib.c,v 2.26 2002/12/04 15:17:36 roberto Exp roberto $
+** $Id: liolib.c,v 2.27 2002/12/04 15:27:17 roberto Exp roberto $
** Standard I/O (and system) library
** See Copyright Notice in lua.h
*/
@@ -12,6 +12,8 @@
#include <string.h>
#include <time.h>
+#define liolib_c
+
#include "lua.h"
#include "lauxlib.h"
diff --git a/llex.c b/llex.c
index 7341dc1d..4b67b2d1 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
/*
-** $Id: llex.c,v 1.115 2002/10/22 16:45:52 roberto Exp roberto $
+** $Id: llex.c,v 1.116 2002/10/23 19:08:13 roberto Exp roberto $
** Lexical Analyzer
** See Copyright Notice in lua.h
*/
@@ -8,6 +8,8 @@
#include <ctype.h>
#include <string.h>
+#define llex_c
+
#include "lua.h"
#include "ldo.h"
diff --git a/lmathlib.c b/lmathlib.c
index 2a882b49..ce8b04c3 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lmathlib.c,v 1.51 2002/08/14 20:10:33 roberto Exp roberto $
+** $Id: lmathlib.c,v 1.52 2002/11/14 15:41:38 roberto Exp roberto $
** Standard mathematical library
** See Copyright Notice in lua.h
*/
@@ -8,6 +8,8 @@
#include <stdlib.h>
#include <math.h>
+#define lmathlib_c
+
#include "lua.h"
#include "lauxlib.h"
diff --git a/lmem.c b/lmem.c
index dd19a27c..8b89b764 100644
--- a/lmem.c
+++ b/lmem.c
@@ -1,5 +1,5 @@
/*
-** $Id: lmem.c,v 1.59 2002/10/25 21:29:20 roberto Exp roberto $
+** $Id: lmem.c,v 1.60 2002/11/21 14:14:42 roberto Exp roberto $
** Interface to Memory Manager
** See Copyright Notice in lua.h
*/
@@ -7,6 +7,8 @@
#include <stdlib.h>
+#define lmem_c
+
#include "lua.h"
#include "ldebug.h"
diff --git a/lobject.c b/lobject.c
index 610797f5..7eb68b7d 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
/*
-** $Id: lobject.c,v 1.92 2002/11/07 15:37:10 roberto Exp roberto $
+** $Id: lobject.c,v 1.93 2002/11/21 15:16:04 roberto Exp roberto $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
@@ -9,6 +9,8 @@
#include <stdlib.h>
#include <string.h>
+#define lobject_c
+
#include "lua.h"
#include "ldo.h"
diff --git a/lopcodes.c b/lopcodes.c
index 8dd3bee3..16950461 100644
--- a/lopcodes.c
+++ b/lopcodes.c
@@ -1,11 +1,13 @@
/*
-** $Id: lopcodes.c,v 1.20 2002/06/12 14:51:31 roberto Exp roberto $
+** $Id: lopcodes.c,v 1.21 2002/08/20 20:03:05 roberto Exp roberto $
** extracted automatically from lopcodes.h by mkprint.lua
** DO NOT EDIT
** See Copyright Notice in lua.h
*/
+#define lopcodes_c
+
#include "lua.h"
#include "lobject.h"
diff --git a/lparser.c b/lparser.c
index 24a9aa22..e4ff3bea 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,5 +1,5 @@
/*
-** $Id: lparser.c,v 1.198 2002/11/22 16:35:20 roberto Exp roberto $
+** $Id: lparser.c,v 1.199 2002/11/22 16:42:53 roberto Exp roberto $
** Lua Parser
** See Copyright Notice in lua.h
*/
@@ -7,6 +7,8 @@
#include <string.h>
+#define lparser_c
+
#include "lua.h"
#include "lcode.h"
diff --git a/lstate.c b/lstate.c
index 988ae13c..9b25c71b 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,10 +1,14 @@
/*
-** $Id: lstate.c,v 1.115 2002/11/21 15:16:04 roberto Exp roberto $
+** $Id: lstate.c,v 1.116 2002/11/22 17:16:52 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
+#include <stdlib.h>
+
+#define lstate_c
+
#include "lua.h"
#include "ldebug.h"
diff --git a/lstring.c b/lstring.c
index 66817103..b2b73d2c 100644
--- a/lstring.c
+++ b/lstring.c
@@ -1,5 +1,5 @@
/*
-** $Id: lstring.c,v 1.76 2002/08/30 19:09:21 roberto Exp roberto $
+** $Id: lstring.c,v 1.77 2002/11/13 11:32:26 roberto Exp roberto $
** String table (keeps all strings handled by Lua)
** See Copyright Notice in lua.h
*/
@@ -7,6 +7,8 @@
#include <string.h>
+#define lstring_c
+
#include "lua.h"
#include "lmem.h"
diff --git a/lstrlib.c b/lstrlib.c
index 1b3e75a7..64f731b8 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lstrlib.c,v 1.90 2002/11/14 15:41:38 roberto Exp roberto $
+** $Id: lstrlib.c,v 1.91 2002/11/25 17:33:33 roberto Exp roberto $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
@@ -11,6 +11,8 @@
#include <stdlib.h>
#include <string.h>
+#define lstrlib_c
+
#include "lua.h"
#include "lauxlib.h"
diff --git a/ltable.c b/ltable.c
index a8549cd3..02b14943 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
/*
-** $Id: ltable.c,v 1.124 2002/11/25 12:38:47 roberto Exp roberto $
+** $Id: ltable.c,v 1.125 2002/12/02 12:06:10 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@@ -22,6 +22,7 @@
*/
+#define ltable_c
#include "lua.h"
diff --git a/ltablib.c b/ltablib.c
index 4e34d5f1..9ad7d3a0 100644
--- a/ltablib.c
+++ b/ltablib.c
@@ -1,5 +1,5 @@
/*
-** $Id: ltablib.c,v 1.15 2002/11/14 11:51:50 roberto Exp roberto $
+** $Id: ltablib.c,v 1.16 2002/11/14 15:41:38 roberto Exp roberto $
** Library for Table Manipulation
** See Copyright Notice in lua.h
*/
@@ -7,6 +7,8 @@
#include <stddef.h>
+#define ltablib_c
+
#include "lua.h"
#include "lauxlib.h"
diff --git a/ltests.c b/ltests.c
index 6846841d..adc1d260 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
/*
-** $Id: ltests.c,v 1.146 2002/11/25 17:47:13 roberto Exp roberto $
+** $Id: ltests.c,v 1.147 2002/12/04 17:29:05 roberto Exp roberto $
** Internal Module for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -11,6 +11,7 @@
#include <stdlib.h>
#include <string.h>
+#define ltests_c
#include "lua.h"
diff --git a/ltm.c b/ltm.c
index 60451581..8a4c8e74 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
/*
-** $Id: ltm.c,v 1.103 2002/10/25 20:05:28 roberto Exp roberto $
+** $Id: ltm.c,v 1.104 2002/11/14 11:51:50 roberto Exp roberto $
** Tag methods
** See Copyright Notice in lua.h
*/
@@ -7,6 +7,8 @@
#include <string.h>
+#define ltm_c
+
#include "lua.h"
#include "lobject.h"
diff --git a/lua.c b/lua.c
index a257417b..1f303d20 100644
--- a/lua.c
+++ b/lua.c
@@ -1,5 +1,5 @@
/*
-** $Id: lua.c,v 1.111 2002/12/04 15:38:25 roberto Exp roberto $
+** $Id: lua.c,v 1.112 2002/12/04 17:28:27 roberto Exp roberto $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
@@ -10,6 +10,8 @@
#include <stdlib.h>
#include <string.h>
+#define lua_c
+
#include "lua.h"
#include "lauxlib.h"
diff --git a/lundump.c b/lundump.c
index a0d0e19f..48195faa 100644
--- a/lundump.c
+++ b/lundump.c
@@ -1,9 +1,11 @@
/*
-** $Id: lundump.c,v 1.56 2002/10/25 21:30:41 roberto Exp roberto $
+** $Id: lundump.c,v 1.57 2002/11/14 16:15:53 roberto Exp roberto $
** load pre-compiled Lua chunks
** See Copyright Notice in lua.h
*/
+#define lundump_c
+
#include "lua.h"
#include "ldebug.h"
diff --git a/lvm.c b/lvm.c
index a5b07be7..8b3a03f2 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
/*
-** $Id: lvm.c,v 1.269 2002/11/25 11:20:29 roberto Exp roberto $
+** $Id: lvm.c,v 1.270 2002/11/25 17:47:13 roberto Exp roberto $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -9,6 +9,8 @@
#include <stdlib.h>
#include <string.h>
+#define lvm_c
+
#include "lua.h"
#include "ldebug.h"
diff --git a/lzio.c b/lzio.c
index b22c4242..19e05c5c 100644
--- a/lzio.c
+++ b/lzio.c
@@ -1,5 +1,5 @@
/*
-** $Id: lzio.c,v 1.21 2002/08/06 17:26:45 roberto Exp roberto $
+** $Id: lzio.c,v 1.22 2002/10/08 18:46:08 roberto Exp roberto $
** a generic input stream interface
** See Copyright Notice in lua.h
*/
@@ -7,6 +7,8 @@
#include <string.h>
+#define lzio_c
+
#include "lua.h"
#include "llimits.h"