aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_compile.c')
-rw-r--r--LuaSL/src/LuaSL_compile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index 51d859e..9f1a374 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -1947,7 +1947,8 @@ static void outputCrementsToken(FILE *file, outputMode mode, LSL_Leaf *content)
1947 case LSL_INCREMENT_PRE : 1947 case LSL_INCREMENT_PRE :
1948 { 1948 {
1949 /* TODO - 1949 /* TODO -
1950 Damn, gotta put the function call out BEFORE the statment, which has alreadf been put out. 1950 Damn, gotta put the function call out BEFORE the statment, which has already been put out.
1951 Trickier case - while (++i)
1951 */ 1952 */
1952 outputText(file, &(content->value.identifierValue->name), FALSE); 1953 outputText(file, &(content->value.identifierValue->name), FALSE);
1953 if (LSL_DECREMENT_PRE == content->toKen->type) 1954 if (LSL_DECREMENT_PRE == content->toKen->type)
@@ -1967,6 +1968,7 @@ static void outputCrementsToken(FILE *file, outputMode mode, LSL_Leaf *content)
1967 { 1968 {
1968 /* TODO - 1969 /* TODO -
1969 Find the end of the statement and put it there. 1970 Find the end of the statement and put it there.
1971 Bound to be a trickier case as above. lol
1970 */ 1972 */
1971 outputText(file, &(content->value.identifierValue->name), FALSE); 1973 outputText(file, &(content->value.identifierValue->name), FALSE);
1972 if (LSL_DECREMENT_POST == content->toKen->type) 1974 if (LSL_DECREMENT_POST == content->toKen->type)