summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 @@
1/* 1/*
2** $Id: lapi.c,v 1.224 2002/11/25 17:50:14 roberto Exp roberto $ 2** $Id: lapi.c,v 1.225 2002/12/04 17:28:27 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -8,6 +8,8 @@
8#include <assert.h> 8#include <assert.h>
9#include <string.h> 9#include <string.h>
10 10
11#define lapi_c
12
11#include "lua.h" 13#include "lua.h"
12 14
13#include "lapi.h" 15#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 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.89 2002/10/22 18:07:55 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.90 2002/11/14 15:41:38 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -16,6 +16,8 @@
16** Any function declared here could be written as an application function. 16** Any function declared here could be written as an application function.
17*/ 17*/
18 18
19#define lauxlib_c
20
19#include "lua.h" 21#include "lua.h"
20 22
21#include "lauxlib.h" 23#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 @@
1/* 1/*
2** $Id: lbaselib.c,v 1.112 2002/11/26 12:53:29 roberto Exp roberto $ 2** $Id: lbaselib.c,v 1.113 2002/12/04 15:38:25 roberto Exp roberto $
3** Basic library 3** Basic library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,6 +11,8 @@
11#include <stdlib.h> 11#include <stdlib.h>
12#include <string.h> 12#include <string.h>
13 13
14#define lbaselib_c
15
14#include "lua.h" 16#include "lua.h"
15 17
16#include "lauxlib.h" 18#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 @@
1/* 1/*
2** $Id: lcode.c,v 1.112 2002/10/16 20:40:58 roberto Exp roberto $ 2** $Id: lcode.c,v 1.113 2002/11/14 16:15:53 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -7,6 +7,8 @@
7 7
8#include <stdlib.h> 8#include <stdlib.h>
9 9
10#define lcode_c
11
10#include "lua.h" 12#include "lua.h"
11 13
12#include "lcode.h" 14#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 @@
1/* 1/*
2** $Id: ldblib.c,v 1.72 2002/11/18 15:23:15 roberto Exp roberto $ 2** $Id: ldblib.c,v 1.73 2002/11/25 17:47:13 roberto Exp roberto $
3** Interface from Lua to its debug API 3** Interface from Lua to its debug API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -9,6 +9,8 @@
9#include <stdlib.h> 9#include <stdlib.h>
10#include <string.h> 10#include <string.h>
11 11
12#define ldblib_c
13
12#include "lua.h" 14#include "lua.h"
13 15
14#include "lauxlib.h" 16#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 @@
1/* 1/*
2** $Id: ldebug.c,v 1.139 2002/11/25 17:47:13 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.140 2002/11/26 08:59:48 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -8,6 +8,8 @@
8#include <stdlib.h> 8#include <stdlib.h>
9#include <string.h> 9#include <string.h>
10 10
11#define ldebug_c
12
11#include "lua.h" 13#include "lua.h"
12 14
13#include "lapi.h" 15#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 @@
1/* 1/*
2** $Id: ldo.c,v 1.209 2002/11/22 18:01:46 roberto Exp roberto $ 2** $Id: ldo.c,v 1.210 2002/12/04 17:28:27 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -9,6 +9,8 @@
9#include <stdlib.h> 9#include <stdlib.h>
10#include <string.h> 10#include <string.h>
11 11
12#define ldo_c
13
12#include "lua.h" 14#include "lua.h"
13 15
14#include "ldebug.h" 16#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 @@
1/* 1/*
2** $Id: dump.c,v 1.37 2002/08/07 00:36:03 lhf Exp lhf $ 2** $Id: ldump.c,v 1.1 2002/10/25 21:31:28 roberto Exp roberto $
3** save bytecodes 3** save bytecodes
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7#include <stddef.h> 7#include <stddef.h>
8 8
9#define ldump_c
10
9#include "lua.h" 11#include "lua.h"
10 12
11#include "lobject.h" 13#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 @@
1/* 1/*
2** $Id: lfunc.c,v 1.62 2002/11/13 11:31:39 roberto Exp roberto $ 2** $Id: lfunc.c,v 1.63 2002/11/14 16:15:53 roberto Exp roberto $
3** Auxiliary functions to manipulate prototypes and closures 3** Auxiliary functions to manipulate prototypes and closures
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -7,6 +7,8 @@
7 7
8#include <stdlib.h> 8#include <stdlib.h>
9 9
10#define lfunc_c
11
10#include "lua.h" 12#include "lua.h"
11 13
12#include "lfunc.h" 14#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 @@
1/* 1/*
2** $Id: lgc.c,v 1.164 2002/11/25 12:38:47 roberto Exp roberto $ 2** $Id: lgc.c,v 1.165 2002/12/02 12:06:10 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7#include <string.h> 7#include <string.h>
8 8
9#define lgc_c
10
9#include "lua.h" 11#include "lua.h"
10 12
11#include "ldebug.h" 13#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 @@
1/* 1/*
2** $Id: liolib.c,v 2.26 2002/12/04 15:17:36 roberto Exp roberto $ 2** $Id: liolib.c,v 2.27 2002/12/04 15:27:17 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -12,6 +12,8 @@
12#include <string.h> 12#include <string.h>
13#include <time.h> 13#include <time.h>
14 14
15#define liolib_c
16
15#include "lua.h" 17#include "lua.h"
16 18
17#include "lauxlib.h" 19#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 @@
1/* 1/*
2** $Id: llex.c,v 1.115 2002/10/22 16:45:52 roberto Exp roberto $ 2** $Id: llex.c,v 1.116 2002/10/23 19:08:13 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -8,6 +8,8 @@
8#include <ctype.h> 8#include <ctype.h>
9#include <string.h> 9#include <string.h>
10 10
11#define llex_c
12
11#include "lua.h" 13#include "lua.h"
12 14
13#include "ldo.h" 15#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 @@
1/* 1/*
2** $Id: lmathlib.c,v 1.51 2002/08/14 20:10:33 roberto Exp roberto $ 2** $Id: lmathlib.c,v 1.52 2002/11/14 15:41:38 roberto Exp roberto $
3** Standard mathematical library 3** Standard mathematical library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -8,6 +8,8 @@
8#include <stdlib.h> 8#include <stdlib.h>
9#include <math.h> 9#include <math.h>
10 10
11#define lmathlib_c
12
11#include "lua.h" 13#include "lua.h"
12 14
13#include "lauxlib.h" 15#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 @@
1/* 1/*
2** $Id: lmem.c,v 1.59 2002/10/25 21:29:20 roberto Exp roberto $ 2** $Id: lmem.c,v 1.60 2002/11/21 14:14:42 roberto Exp roberto $
3** Interface to Memory Manager 3** Interface to Memory Manager
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -7,6 +7,8 @@
7 7
8#include <stdlib.h> 8#include <stdlib.h>
9 9
10#define lmem_c
11
10#include "lua.h" 12#include "lua.h"
11 13
12#include "ldebug.h" 14#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 @@
1/* 1/*
2** $Id: lobject.c,v 1.92 2002/11/07 15:37:10 roberto Exp roberto $ 2** $Id: lobject.c,v 1.93 2002/11/21 15:16:04 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -9,6 +9,8 @@
9#include <stdlib.h> 9#include <stdlib.h>
10#include <string.h> 10#include <string.h>
11 11
12#define lobject_c
13
12#include "lua.h" 14#include "lua.h"
13 15
14#include "ldo.h" 16#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 @@
1/* 1/*
2** $Id: lopcodes.c,v 1.20 2002/06/12 14:51:31 roberto Exp roberto $ 2** $Id: lopcodes.c,v 1.21 2002/08/20 20:03:05 roberto Exp roberto $
3** extracted automatically from lopcodes.h by mkprint.lua 3** extracted automatically from lopcodes.h by mkprint.lua
4** DO NOT EDIT 4** DO NOT EDIT
5** See Copyright Notice in lua.h 5** See Copyright Notice in lua.h
6*/ 6*/
7 7
8 8
9#define lopcodes_c
10
9#include "lua.h" 11#include "lua.h"
10 12
11#include "lobject.h" 13#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 @@
1/* 1/*
2** $Id: lparser.c,v 1.198 2002/11/22 16:35:20 roberto Exp roberto $ 2** $Id: lparser.c,v 1.199 2002/11/22 16:42:53 roberto Exp roberto $
3** Lua Parser 3** Lua Parser
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -7,6 +7,8 @@
7 7
8#include <string.h> 8#include <string.h>
9 9
10#define lparser_c
11
10#include "lua.h" 12#include "lua.h"
11 13
12#include "lcode.h" 14#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 @@
1/* 1/*
2** $Id: lstate.c,v 1.115 2002/11/21 15:16:04 roberto Exp roberto $ 2** $Id: lstate.c,v 1.116 2002/11/22 17:16:52 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7 7
8#include <stdlib.h>
9
10#define lstate_c
11
8#include "lua.h" 12#include "lua.h"
9 13
10#include "ldebug.h" 14#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 @@
1/* 1/*
2** $Id: lstring.c,v 1.76 2002/08/30 19:09:21 roberto Exp roberto $ 2** $Id: lstring.c,v 1.77 2002/11/13 11:32:26 roberto Exp roberto $
3** String table (keeps all strings handled by Lua) 3** String table (keeps all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -7,6 +7,8 @@
7 7
8#include <string.h> 8#include <string.h>
9 9
10#define lstring_c
11
10#include "lua.h" 12#include "lua.h"
11 13
12#include "lmem.h" 14#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 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.90 2002/11/14 15:41:38 roberto Exp roberto $ 2** $Id: lstrlib.c,v 1.91 2002/11/25 17:33:33 roberto Exp roberto $
3** Standard library for string operations and pattern-matching 3** Standard library for string operations and pattern-matching
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,6 +11,8 @@
11#include <stdlib.h> 11#include <stdlib.h>
12#include <string.h> 12#include <string.h>
13 13
14#define lstrlib_c
15
14#include "lua.h" 16#include "lua.h"
15 17
16#include "lauxlib.h" 18#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 @@
1/* 1/*
2** $Id: ltable.c,v 1.124 2002/11/25 12:38:47 roberto Exp roberto $ 2** $Id: ltable.c,v 1.125 2002/12/02 12:06:10 roberto Exp roberto $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -22,6 +22,7 @@
22*/ 22*/
23 23
24 24
25#define ltable_c
25 26
26#include "lua.h" 27#include "lua.h"
27 28
diff --git a/ltablib.c b/ltablib.c
index 4e34d5f1..9ad7d3a0 100644
--- a/ltablib.c
+++ b/ltablib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltablib.c,v 1.15 2002/11/14 11:51:50 roberto Exp roberto $ 2** $Id: ltablib.c,v 1.16 2002/11/14 15:41:38 roberto Exp roberto $
3** Library for Table Manipulation 3** Library for Table Manipulation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -7,6 +7,8 @@
7 7
8#include <stddef.h> 8#include <stddef.h>
9 9
10#define ltablib_c
11
10#include "lua.h" 12#include "lua.h"
11 13
12#include "lauxlib.h" 14#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 @@
1/* 1/*
2** $Id: ltests.c,v 1.146 2002/11/25 17:47:13 roberto Exp roberto $ 2** $Id: ltests.c,v 1.147 2002/12/04 17:29:05 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,6 +11,7 @@
11#include <stdlib.h> 11#include <stdlib.h>
12#include <string.h> 12#include <string.h>
13 13
14#define ltests_c
14 15
15#include "lua.h" 16#include "lua.h"
16 17
diff --git a/ltm.c b/ltm.c
index 60451581..8a4c8e74 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 1.103 2002/10/25 20:05:28 roberto Exp roberto $ 2** $Id: ltm.c,v 1.104 2002/11/14 11:51:50 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -7,6 +7,8 @@
7 7
8#include <string.h> 8#include <string.h>
9 9
10#define ltm_c
11
10#include "lua.h" 12#include "lua.h"
11 13
12#include "lobject.h" 14#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 @@
1/* 1/*
2** $Id: lua.c,v 1.111 2002/12/04 15:38:25 roberto Exp roberto $ 2** $Id: lua.c,v 1.112 2002/12/04 17:28:27 roberto Exp roberto $
3** Lua stand-alone interpreter 3** Lua stand-alone interpreter
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -10,6 +10,8 @@
10#include <stdlib.h> 10#include <stdlib.h>
11#include <string.h> 11#include <string.h>
12 12
13#define lua_c
14
13#include "lua.h" 15#include "lua.h"
14 16
15#include "lauxlib.h" 17#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 @@
1/* 1/*
2** $Id: lundump.c,v 1.56 2002/10/25 21:30:41 roberto Exp roberto $ 2** $Id: lundump.c,v 1.57 2002/11/14 16:15:53 roberto Exp roberto $
3** load pre-compiled Lua chunks 3** load pre-compiled Lua chunks
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
6 6
7#define lundump_c
8
7#include "lua.h" 9#include "lua.h"
8 10
9#include "ldebug.h" 11#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 @@
1/* 1/*
2** $Id: lvm.c,v 1.269 2002/11/25 11:20:29 roberto Exp roberto $ 2** $Id: lvm.c,v 1.270 2002/11/25 17:47:13 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -9,6 +9,8 @@
9#include <stdlib.h> 9#include <stdlib.h>
10#include <string.h> 10#include <string.h>
11 11
12#define lvm_c
13
12#include "lua.h" 14#include "lua.h"
13 15
14#include "ldebug.h" 16#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 @@
1/* 1/*
2** $Id: lzio.c,v 1.21 2002/08/06 17:26:45 roberto Exp roberto $ 2** $Id: lzio.c,v 1.22 2002/10/08 18:46:08 roberto Exp roberto $
3** a generic input stream interface 3** a generic input stream interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -7,6 +7,8 @@
7 7
8#include <string.h> 8#include <string.h>
9 9
10#define lzio_c
11
10#include "lua.h" 12#include "lua.h"
11 13
12#include "llimits.h" 14#include "llimits.h"