aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-02 02:22:18 +1000
committerDavid Walter Seikel2012-02-02 02:22:18 +1000
commit1c5d9ea63eda67620c93c97634facd513cad3b8a (patch)
tree7d64bc459f7856060697ba7fb174387e68c30936 /LuaSL/src
parentOutput state changes properly. (diff)
downloadSledjHamr-1c5d9ea63eda67620c93c97634facd513cad3b8a.zip
SledjHamr-1c5d9ea63eda67620c93c97634facd513cad3b8a.tar.gz
SledjHamr-1c5d9ea63eda67620c93c97634facd513cad3b8a.tar.bz2
SledjHamr-1c5d9ea63eda67620c93c97634facd513cad3b8a.tar.xz
Tweak the space around crements, still not perfect though.
Diffstat (limited to 'LuaSL/src')
-rw-r--r--LuaSL/src/LuaSL_compile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index cae3c86..de23b78 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -1662,13 +1662,13 @@ static void outputCrementsToken(FILE *file, outputMode mode, LSL_Leaf *content)
1662 case LSL_INCREMENT_PRE : 1662 case LSL_INCREMENT_PRE :
1663 { 1663 {
1664 fprintf(file, "%s", content->toKen->toKen); 1664 fprintf(file, "%s", content->toKen->toKen);
1665 outputText(file, &(content->value.identifierValue->name), !(LSL_NOIGNORE & content->toKen->flags)); 1665 outputText(file, &(content->value.identifierValue->name), FALSE);
1666 break; 1666 break;
1667 } 1667 }
1668 case LSL_DECREMENT_POST : 1668 case LSL_DECREMENT_POST :
1669 case LSL_INCREMENT_POST : 1669 case LSL_INCREMENT_POST :
1670 { 1670 {
1671 outputText(file, &(content->value.identifierValue->name), !(LSL_NOIGNORE & content->toKen->flags)); 1671 outputText(file, &(content->value.identifierValue->name), FALSE);
1672 fprintf(file, "%s", content->toKen->toKen); 1672 fprintf(file, "%s", content->toKen->toKen);
1673 break; 1673 break;
1674 } 1674 }
@@ -1801,7 +1801,6 @@ static void outputStateToken(FILE *file, outputMode mode, LSL_Leaf *content)
1801 outputText(file, &(state->state), !(LSL_NOIGNORE & content->toKen->flags)); 1801 outputText(file, &(state->state), !(LSL_NOIGNORE & content->toKen->flags));
1802 outputText(file, &(state->name), !(LSL_NOIGNORE & content->toKen->flags)); 1802 outputText(file, &(state->name), !(LSL_NOIGNORE & content->toKen->flags));
1803 outputRawBlock(file, mode, state->block); 1803 outputRawBlock(file, mode, state->block);
1804 fprintf(file, "\n");
1805 } 1804 }
1806 } 1805 }
1807} 1806}