diff --git a/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2Debug.java b/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2Debug.java index 915c37c2..3a7d44ad 100644 --- a/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2Debug.java +++ b/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2Debug.java @@ -94,10 +94,10 @@ public byte[] compileDebugStatement(Spin2StatementNode root) { switch (cmd) { case "FDEC": - compileSpinStatement(node, os, DBC_TYPE_FLP | DBC_SIZE_LONG); + compileSpinStatement(node, os, DBC_TYPE_FLP | DBC_SIZE_LONG | flags); break; case "FDEC_ARRAY": - compileSpinArrayStatement(node, os, DBC_TYPE_FLP | DBC_SIZE_LONG | DBC_FLAG_ARRAY); + compileSpinArrayStatement(node, os, DBC_TYPE_FLP | DBC_SIZE_LONG | DBC_FLAG_ARRAY | flags); break; case "UDEC": @@ -356,13 +356,13 @@ public byte[] compilePAsmDebugStatement(Spin2PAsmDebugLine root) { switch (cmd) { case "FDEC": - compileSimpleStatement(node, os, DBC_TYPE_FLP | DBC_SIZE_LONG); + compileSimpleStatement(node, os, DBC_TYPE_FLP | DBC_SIZE_LONG | flags); break; case "FDEC_REG_ARRAY": - compileArrayStatement(node, os, DBC_TYPE_FLP | DBC_FLAG_ARRAY); + compileArrayStatement(node, os, DBC_TYPE_FLP | DBC_FLAG_ARRAY | flags); break; case "FDEC_ARRAY": - compileArrayStatement(node, os, DBC_TYPE_FLP | DBC_SIZE_LONG | DBC_FLAG_ARRAY); + compileArrayStatement(node, os, DBC_TYPE_FLP | DBC_SIZE_LONG | DBC_FLAG_ARRAY | flags); break; case "UDEC": diff --git a/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2TokenMarker.java b/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2TokenMarker.java index 9418c376..25057f38 100644 --- a/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2TokenMarker.java +++ b/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2TokenMarker.java @@ -467,6 +467,10 @@ public class Spin2TokenMarker extends SourceTokenMarker { debugKeywords.put("FDEC_REG_ARRAY", TokenId.FUNCTION); debugKeywords.put("FDEC_ARRAY", TokenId.FUNCTION); + debugKeywords.put("FDEC_", TokenId.FUNCTION); + debugKeywords.put("FDEC_REG_ARRAY_", TokenId.FUNCTION); + debugKeywords.put("FDEC_ARRAY_", TokenId.FUNCTION); + debugKeywords.put("UDEC", TokenId.FUNCTION); debugKeywords.put("UDEC_BYTE", TokenId.FUNCTION); debugKeywords.put("UDEC_WORD", TokenId.FUNCTION);