From 2a09380ae3bf4c31e85ebb5832f30846201cc3b0 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 6 Jan 2012 17:01:22 +1000 Subject: Folded this code into the rest of the C file, but forgot to remove the file. --- LuaSL/src/LuaSL_parser.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 LuaSL/src/LuaSL_parser.c (limited to 'LuaSL') diff --git a/LuaSL/src/LuaSL_parser.c b/LuaSL/src/LuaSL_parser.c deleted file mode 100644 index 35cb782..0000000 --- a/LuaSL/src/LuaSL_parser.c +++ /dev/null @@ -1,22 +0,0 @@ -#include "LuaSL_LSL_tree.h" -#include - - -int main(void) -{ - const char test[] = " 4 + 2*10 + 3*( 5 + 1 )"; - LSL_Expression *exp; - - if ((exp = newTree(test))) - { - int result = evaluateExpression(exp, 0); - - printf("Result of '%s' is %d\n", test, result); - outputExpression(exp); - printf("\n"); - burnLSLExpression(exp); - } - - return 0; -} - -- cgit v1.1