From 5693cb0af6136233fceb6b2d777f201959df6668 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 20 Jan 2012 19:01:36 +1000 Subject: Allow to compile out the diff check, and the ignore text stuff as that's it's only purpose. --- LuaSL/src/LuaSL_lexer.l | 2 ++ 1 file changed, 2 insertions(+) (limited to 'LuaSL/src/LuaSL_lexer.l') diff --git a/LuaSL/src/LuaSL_lexer.l b/LuaSL/src/LuaSL_lexer.l index 3270aff..e3ef214 100644 --- a/LuaSL/src/LuaSL_lexer.l +++ b/LuaSL/src/LuaSL_lexer.l @@ -133,6 +133,7 @@ int common(YYSTYPE *lval, char *text, int len, LuaSL_compiler *compiler, boolean compiler->column++; } +#ifdef LUASL_DIFF_CHECK if (checkIgnorable) { lval->ignorableText = compiler->ignorableText; @@ -140,6 +141,7 @@ int common(YYSTYPE *lval, char *text, int len, LuaSL_compiler *compiler, boolean } else eina_strbuf_append_length(compiler->ignorableText, text, len); +#endif return type; } -- cgit v1.1