aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.h')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index 76af195..4f0ab34 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -2,8 +2,8 @@
2#ifndef __LUASL_TREE_H__ 2#ifndef __LUASL_TREE_H__
3#define __LUASL_TREE_H__ 3#define __LUASL_TREE_H__
4 4
5//#define LUASL_DEBUG 5#define LUASL_DEBUG 0
6#define LUASL_DIFF_CHECK 6#define LUASL_DIFF_CHECK 1
7 7
8 8
9#include <stddef.h> // So we can have NULL defined. 9#include <stddef.h> // So we can have NULL defined.
@@ -153,7 +153,7 @@ struct _LSL_Leaf
153 LSL_Leaf *left; 153 LSL_Leaf *left;
154 LSL_Leaf *right; 154 LSL_Leaf *right;
155 LSL_Token *token; 155 LSL_Token *token;
156#ifdef LUASL_DIFF_CHECK 156#if LUASL_DIFF_CHECK
157 Eina_Strbuf *ignorableText; 157 Eina_Strbuf *ignorableText;
158#endif 158#endif
159 int line, column, len; 159 int line, column, len;
@@ -181,7 +181,7 @@ struct _LSL_Leaf
181struct _LSL_Parenthesis 181struct _LSL_Parenthesis
182{ 182{
183 LSL_Leaf *contents; 183 LSL_Leaf *contents;
184#ifdef LUASL_DIFF_CHECK 184#if LUASL_DIFF_CHECK
185 Eina_Strbuf *rightIgnorableText; 185 Eina_Strbuf *rightIgnorableText;
186#endif 186#endif
187 LSL_Type type; 187 LSL_Type type;
@@ -212,7 +212,7 @@ struct _LSL_Function
212{ 212{
213 const char *name; 213 const char *name;
214 LSL_Leaf *type; 214 LSL_Leaf *type;
215#ifdef LUASL_DIFF_CHECK 215#if LUASL_DIFF_CHECK
216 LSL_Leaf *params; // So we store the parenthesis, and their ignorables. 216 LSL_Leaf *params; // So we store the parenthesis, and their ignorables.
217#endif 217#endif
218 Eina_Inarray vars; // Eina Inarray has not been released yet (Eina 1.2). 218 Eina_Inarray vars; // Eina Inarray has not been released yet (Eina 1.2).
@@ -319,7 +319,7 @@ typedef struct
319 FILE *file; 319 FILE *file;
320 LSL_Leaf *ast; 320 LSL_Leaf *ast;
321 LSL_Script script; 321 LSL_Script script;
322#ifdef LUASL_DIFF_CHECK 322#if LUASL_DIFF_CHECK
323 Eina_Strbuf *ignorableText; 323 Eina_Strbuf *ignorableText;
324#endif 324#endif
325 LSL_Leaf *lval; 325 LSL_Leaf *lval;