浏览代码

new header for lex.c

Roberto Ierusalimschy 30 年之前
父节点
当前提交
772f25d3dd
共有 1 个文件被更改,包括 18 次插入0 次删除
  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