Browse Source

new header for lex.c

Roberto Ierusalimschy 29 years ago
parent
commit
772f25d3dd
1 changed files with 18 additions and 0 deletions
  1. 18 0
      lex.h

+ 18 - 0
lex.h

@@ -0,0 +1,18 @@
+/*
+** lex.h
+** TecCGraf - PUC-Rio
+** $Id: $
+*/
+
+#ifndef lex_h
+#define lex_h
+
+
+typedef int  (*Input) (void);
+
+void    lua_setinput   (Input fn);      /* from "lex.c" module */
+char   *lua_lasttext   (void);          /* from "lex.c" module */
+int     luaY_lex (void);                /* from "lex.c" module */
+
+
+#endif