summaryrefslogtreecommitdiff
path: root/lex.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-16 13:50:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-06-16 13:50:22 -0300
commitc9a2dfeb2c71b1c6b8164a1e5aad4b178950e197 (patch)
tree6f099e983ecb968f625a8824ac2ca78e625882e3 /lex.h
parent9fe5be3acf340b90fe0c24d36a601adaf6f21c79 (diff)
downloadlua-c9a2dfeb2c71b1c6b8164a1e5aad4b178950e197.tar.gz
lua-c9a2dfeb2c71b1c6b8164a1e5aad4b178950e197.tar.bz2
lua-c9a2dfeb2c71b1c6b8164a1e5aad4b178950e197.zip
using "zio" for parsing Lua code.
Diffstat (limited to 'lex.h')
-rw-r--r--lex.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lex.h b/lex.h
index d6789827..44172325 100644
--- a/lex.h
+++ b/lex.h
@@ -1,16 +1,15 @@
1/* 1/*
2** lex.h 2** lex.h
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4** $Id: lex.h,v 1.2 1996/02/14 13:35:51 roberto Exp roberto $ 4** $Id: lex.h,v 1.3 1996/11/08 12:49:35 roberto Exp roberto $
5*/ 5*/
6 6
7#ifndef lex_h 7#ifndef lex_h
8#define lex_h 8#define lex_h
9 9
10#include "zio.h"
10 11
11typedef int (*Input) (void); 12void lua_setinput (ZIO *z);
12
13void lua_setinput (Input fn);
14void luaI_syntaxerror (char *s); 13void luaI_syntaxerror (char *s);
15int luaY_lex (void); 14int luaY_lex (void);
16void luaI_addReserved (void); 15void luaI_addReserved (void);