aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.c')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.c b/LuaSL/src/LuaSL_LSL_tree.c
index 0f9013a..b1bbaa7 100644
--- a/LuaSL/src/LuaSL_LSL_tree.c
+++ b/LuaSL/src/LuaSL_LSL_tree.c
@@ -761,6 +761,9 @@ static int nextFile(LuaSL_yyparseParam *param)
761 burnLeaf(param->ast); 761 burnLeaf(param->ast);
762 param->ast = NULL; 762 param->ast = NULL;
763 param->lval = calloc(1, sizeof(LSL_Leaf)); 763 param->lval = calloc(1, sizeof(LSL_Leaf));
764 // Text editors usually start counting at 1, even programmers editors.
765 param->column = 1;
766 param->line = 1;
764 return TRUE; 767 return TRUE;
765 } 768 }
766/* 769/*