aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-12 05:53:23 +1000
committerDavid Walter Seikel2012-01-12 05:53:23 +1000
commitb100c238aa862ef3c0fe93ea1694ee6dd7f0f220 (patch)
treeed1060b4d6bc61548c4aa6ce77e36516aba19106 /LuaSL/src/LuaSL_LSL_tree.h
parentMore clean up. (diff)
downloadSledjHamr-b100c238aa862ef3c0fe93ea1694ee6dd7f0f220.zip
SledjHamr-b100c238aa862ef3c0fe93ea1694ee6dd7f0f220.tar.gz
SledjHamr-b100c238aa862ef3c0fe93ea1694ee6dd7f0f220.tar.bz2
SledjHamr-b100c238aa862ef3c0fe93ea1694ee6dd7f0f220.tar.xz
Allow output to a file, and compare the output with the input.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index 35d0470..bb29399 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -16,7 +16,8 @@
16#include <sys/stat.h> 16#include <sys/stat.h>
17#include <fcntl.h> 17#include <fcntl.h>
18#include <stdlib.h> 18#include <stdlib.h>
19//#define BUFS 1024 19#include <stdio.h>
20#include <limits.h> // For PATH_MAX.
20 21
21#include "LuaSL_lemon_yaccer.h" 22#include "LuaSL_lemon_yaccer.h"
22 23
@@ -43,8 +44,8 @@ extern int lowestToken;
43 44
44typedef int LSL_Type; 45typedef int LSL_Type;
45 46
46typedef void (*convertToken2Lua) (LSL_Leaf *content); 47typedef void (*convertToken2Lua) (FILE *file, LSL_Leaf *content);
47typedef void (*outputToken) (LSL_Leaf *content); 48typedef void (*outputToken) (FILE *file, LSL_Leaf *content);
48typedef void (*evaluateToken) (LSL_Leaf *content, LSL_Leaf *left, LSL_Leaf *right); 49typedef void (*evaluateToken) (LSL_Leaf *content, LSL_Leaf *left, LSL_Leaf *right);
49 50
50#ifndef FALSE 51#ifndef FALSE