aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-05 10:39:25 +1000
committerDavid Walter Seikel2012-02-05 10:39:25 +1000
commitffa3618a3cfcb5298e00ec9df02253426c62cf12 (patch)
tree9cb06521f22e6cd90729e8a74c879f537549f6d6 /LuaSL/src/LuaSL_LSL_tree.h
parentSlightly less half arsed. lol (diff)
downloadSledjHamr-ffa3618a3cfcb5298e00ec9df02253426c62cf12.zip
SledjHamr-ffa3618a3cfcb5298e00ec9df02253426c62cf12.tar.gz
SledjHamr-ffa3618a3cfcb5298e00ec9df02253426c62cf12.tar.bz2
SledjHamr-ffa3618a3cfcb5298e00ec9df02253426c62cf12.tar.xz
White space clean up.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index 3c30129..ca5f844 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -11,7 +11,7 @@
11#include <sys/stat.h> 11#include <sys/stat.h>
12#include <fcntl.h> 12#include <fcntl.h>
13 13
14#include "assert.h" 14#include "assert.h"
15#include <unistd.h> 15#include <unistd.h>
16#include <sys/types.h> 16#include <sys/types.h>
17#include <sys/stat.h> 17#include <sys/stat.h>
@@ -28,7 +28,7 @@
28#include <luaproc/sched.h> 28#include <luaproc/sched.h>
29 29
30#include "LuaSL_lemon_yaccer.h" 30#include "LuaSL_lemon_yaccer.h"
31 31
32#define YYERRCODE 256 32#define YYERRCODE 256
33#define YYDEBUG 1 33#define YYDEBUG 1
34 34
@@ -67,7 +67,7 @@ typedef LSL_Leaf * (*evaluateToken) (LSL_Leaf *content, LSL_Leaf *left, LSL_Lea
67//#ifndef FALSE 67//#ifndef FALSE
68//typedef enum 68//typedef enum
69//{ 69//{
70// FALSE = 0, 70// FALSE = 0,
71// TRUE = 1 71// TRUE = 1
72//} boolean; 72//} boolean;
73//#endif 73//#endif
@@ -266,7 +266,7 @@ struct _LSL_Statement
266/* 266/*
267LSL_Leaf *addStatement(LSL_Leaf *lval, LSL_Type type, LSL_Leaf *left, LSL_Leaf *expr, LSL_Leaf *right, LSL_Leaf *block); 267LSL_Leaf *addStatement(LSL_Leaf *lval, LSL_Type type, LSL_Leaf *left, LSL_Leaf *expr, LSL_Leaf *right, LSL_Leaf *block);
268 268
269expr expr // Might be bogus, 269expr expr // Might be bogus,
270Variable defines identifier, optional expr // For these we only store the variable leaf in expressions. 270Variable defines identifier, optional expr // For these we only store the variable leaf in expressions.
271Function define identifier, block, parens // Also function params, but that's stored in the function anyway. 271Function define identifier, block, parens // Also function params, but that's stored in the function anyway.
272state change identifier 272state change identifier
@@ -395,7 +395,7 @@ Once the parser has condensed things down, it only deals with the
395condensed nodes. So we can get rid of some of the AST parts at this 395condensed nodes. So we can get rid of some of the AST parts at this
396time, so long as we keep the relevant information. This is what the 396time, so long as we keep the relevant information. This is what the
397other data structures above are for. Lemon tries to free the no longer 397other data structures above are for. Lemon tries to free the no longer
398needed AST nodes itself, even if we are still using them internally. 398needed AST nodes itself, even if we are still using them internally.
399Need to do something about that. 399Need to do something about that.
400 400
401*/ 401*/
@@ -464,4 +464,3 @@ void ParseFree(void *p, void (*freeProc)(void*));
464 464
465 465
466#endif // __LUASL_LSL_TREE_H__ 466#endif // __LUASL_LSL_TREE_H__
467