commit 27c6b4d42212eb0da07d9326470220818bb7b75f
parent 0bb8eb51517ef63c65fb986d711c3163ad0be38f
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 4 Dec 2002 15:38:09 -0200
each .c file defines its own name
Diffstat:
28 files changed, 84 insertions(+), 28 deletions(-)
diff --git 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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"