diff options
author | David Walter Seikel | 2012-02-03 15:17:56 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-03 15:17:56 +1000 |
commit | 29b7ecf2405830c613a283df44932fd2baec3ffc (patch) | |
tree | 89b8b70e2e1b3a6b59a5cfd33f26350ee907f71e /LuaSL | |
parent | Commenting out the duplication of conditionals at the end. (diff) | |
download | SledjHamr-29b7ecf2405830c613a283df44932fd2baec3ffc.zip SledjHamr-29b7ecf2405830c613a283df44932fd2baec3ffc.tar.gz SledjHamr-29b7ecf2405830c613a283df44932fd2baec3ffc.tar.bz2 SledjHamr-29b7ecf2405830c613a283df44932fd2baec3ffc.tar.xz |
Comment even tricksier bit crement cases.
Diffstat (limited to 'LuaSL')
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 4 |
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) |