mirror of https://github.com/rusefi/lua.git
small details
This commit is contained in:
parent
45cad43c3f
commit
92791b9dd6
3
ldo.c
3
ldo.c
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: ldo.c,v 1.6 1997/11/03 21:00:23 roberto Exp roberto $
|
||||
** $Id: ldo.c,v 1.7 1997/11/04 15:27:53 roberto Exp roberto $
|
||||
** Stack and Call structure of Lua
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "ldo.h"
|
||||
|
|
4
llex.c
4
llex.c
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: llex.c,v 1.3 1997/10/13 22:10:45 roberto Exp roberto $
|
||||
** $Id: llex.c,v 1.4 1997/11/04 15:27:53 roberto Exp roberto $
|
||||
** Lexical Analizer
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
@ -110,7 +110,7 @@ static void skipspace (void)
|
|||
|
||||
static int checkcond (char *buff)
|
||||
{
|
||||
static char *opts[] = {"nil", "1"};
|
||||
static char *opts[] = {"nil", "1", NULL};
|
||||
int i = luaO_findstring(buff, opts);
|
||||
if (i >= 0) return i;
|
||||
else if (isalpha((unsigned char)buff[0]) || buff[0] == '_')
|
||||
|
|
3
lua.stx
3
lua.stx
|
@ -1,12 +1,13 @@
|
|||
%{
|
||||
/*
|
||||
** $Id: lua.stx,v 1.15 1997/10/28 17:26:53 roberto Exp roberto $
|
||||
** $Id: lua.stx,v 1.16 1997/10/30 18:47:19 roberto Exp roberto $
|
||||
** Syntax analizer and code generator
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "lauxlib.h"
|
||||
#include "ldo.h"
|
||||
|
|
11
makefile
11
makefile
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
## $Id: makefile,v 1.3 1997/10/13 22:10:45 roberto Exp roberto $
|
||||
## $Id: makefile,v 1.4 1997/10/24 17:17:24 roberto Exp roberto $
|
||||
## Makefile
|
||||
## See Copyright Notice in lua.h
|
||||
#
|
||||
|
@ -90,13 +90,14 @@ clear :
|
|||
%.c : RCS/%.c,v
|
||||
co $@
|
||||
|
||||
lapi.o: lapi.c lapi.h lua.h lobject.h lauxlib.h ldo.h lfunc.h lgc.h \
|
||||
lmem.h lstring.h ltable.h ltm.h luadebug.h lvm.h
|
||||
lapi.o: lapi.c lapi.h lua.h lobject.h lauxlib.h lbuiltin.h ldo.h \
|
||||
lfunc.h lgc.h llex.h lzio.h lmem.h lstring.h ltable.h ltm.h \
|
||||
luadebug.h lvm.h
|
||||
lauxlib.o: lauxlib.c lauxlib.h lua.h luadebug.h
|
||||
lbuiltin.o: lbuiltin.c lapi.h lua.h lobject.h lauxlib.h lbuiltin.h \
|
||||
ldo.h lfunc.h lmem.h lstring.h ltable.h ltm.h
|
||||
ldo.o: ldo.c lbuiltin.h ldo.h lobject.h lua.h lfunc.h lgc.h lmem.h \
|
||||
lparser.h lzio.h ltm.h luadebug.h lundump.h lvm.h
|
||||
ldo.o: ldo.c ldo.h lobject.h lua.h lfunc.h lgc.h lmem.h lparser.h \
|
||||
lzio.h ltm.h luadebug.h lundump.h lvm.h
|
||||
lfunc.o: lfunc.c lfunc.h lobject.h lua.h lmem.h
|
||||
lgc.o: lgc.c ldo.h lobject.h lua.h lfunc.h lgc.h lmem.h lstring.h \
|
||||
ltable.h ltm.h
|
||||
|
|
Loading…
Reference in New Issue