Explorar o código

new header for lex.c

Roberto Ierusalimschy %!s(int64=30) %!d(string=hai) anos
pai
achega
772f25d3dd
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  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