aboutsummaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-02-13 14:30:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-02-13 14:30:39 -0300
commit0f4903a5d79fb594115c5603072d0dce77b2b84e (patch)
tree96223404b48aef1a94b813e2ad03362701d0e0c1 /opcode.h
parent772f25d3dd3c5078988b8c06ddf64c3b78f7dfb6 (diff)
downloadlua-0f4903a5d79fb594115c5603072d0dce77b2b84e.tar.gz
lua-0f4903a5d79fb594115c5603072d0dce77b2b84e.tar.bz2
lua-0f4903a5d79fb594115c5603072d0dce77b2b84e.zip
new header "lex.h".
Diffstat (limited to 'opcode.h')
-rw-r--r--opcode.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/opcode.h b/opcode.h
index e66c9676..fe96bccd 100644
--- a/opcode.h
+++ b/opcode.h
@@ -1,6 +1,6 @@
1/* 1/*
2** TeCGraf - PUC-Rio 2** TeCGraf - PUC-Rio
3** $Id: opcode.h,v 3.15 1995/12/21 16:14:04 roberto Exp roberto $ 3** $Id: opcode.h,v 3.16 1996/01/26 18:03:19 roberto Exp roberto $
4*/ 4*/
5 5
6#ifndef opcode_h 6#ifndef opcode_h
@@ -11,9 +11,6 @@
11#include "tree.h" 11#include "tree.h"
12#include "func.h" 12#include "func.h"
13 13
14#ifndef real
15#define real float
16#endif
17 14
18#define FIELDS_PER_FLUSH 40 15#define FIELDS_PER_FLUSH 40
19 16
@@ -74,12 +71,9 @@ typedef enum
74#define MULT_RET 255 71#define MULT_RET 255
75 72
76 73
77typedef void (*Cfunction) (void);
78typedef int (*Input) (void);
79
80typedef union 74typedef union
81{ 75{
82 Cfunction f; 76 lua_CFunction f;
83 real n; 77 real n;
84 TaggedString *ts; 78 TaggedString *ts;
85 TFunc *tf; 79 TFunc *tf;
@@ -140,9 +134,6 @@ typedef union
140/* Exported functions */ 134/* Exported functions */
141char *lua_strdup (char *l); 135char *lua_strdup (char *l);
142 136
143void lua_setinput (Input fn); /* from "lex.c" module */
144char *lua_lasttext (void); /* from "lex.c" module */
145int luaY_lex (void); /* from "lex.c" module */
146void lua_parse (TFunc *tf); /* from "lua.stx" module */ 137void lua_parse (TFunc *tf); /* from "lua.stx" module */
147void luaI_codedebugline (int line); /* from "lua.stx" module */ 138void luaI_codedebugline (int line); /* from "lua.stx" module */
148void lua_travstack (int (*fn)(Object *)); 139void lua_travstack (int (*fn)(Object *));