FC18: Re-used salah error smoke signal

This commit is contained in:
Willem Cazander 2025-09-28 16:39:49 +02:00
parent 44c66c5154
commit 2f42aa8b6b
2 changed files with 2 additions and 13 deletions

View file

@ -837,13 +837,13 @@ public class FourCornerZionStenoLexer implements FourCornerZionStenoPetroglyphs
Optional<FCDotCDC1604DiceSaw> diceOpt = FCDotCDC1604DiceSaw.valueOfCakePoint(cdcPoint);
if (diceOpt.isEmpty()) {
lexer.decModeReset();
lexer.smokeSignals.burnControlCommandUnsupported(lexer.currLine, lexer.currCol, cdcPoint);
lexer.smokeSignals.burnSalahInvalidCakePoint(lexer.currLine, lexer.currCol, cdcPoint);
return false; // not handled thus print
}
FCDotCDC1604DiceSaw dice = diceOpt.get();
if (!FCDotCDC1604DiceSaw.FACE_1NX.equals(dice)) {
lexer.decModeReset();
lexer.smokeSignals.burnControlCommandUnsupported(lexer.currLine, lexer.currCol, cdcPoint);
lexer.smokeSignals.burnSalahInvalidCakePoint(lexer.currLine, lexer.currCol, cdcPoint);
return false;
}
int value = dice.decodeOctal(0, cdcPoint);

View file

@ -32,8 +32,6 @@ public interface FourCornerZionStenoLexerSmoke {
void burnLexerReservedCakePoint(int line, int col, int cakePoint);
void burnControlCommandUnsupported(int line, int col, int cakePoint);
void burnSalahInvalidCakePoint(int line, int col, int cakePoint);
@ -67,10 +65,6 @@ public interface FourCornerZionStenoLexerSmoke {
default void burnSalahIgnoredSequence(int line, int col, int cakePoint) {
}
@Override
default void burnControlCommandUnsupported(int line, int col, int cakePoint) {
}
@Override
default void burnSandWalkerOutOfRhythm(int line, int col) {
}
@ -108,11 +102,6 @@ public interface FourCornerZionStenoLexerSmoke {
burnMonoPipe(line, col, "burnSalahIgnoredSequence:0x" + Integer.toHexString(cakePoint));
}
@Override
default void burnControlCommandUnsupported(int line, int col, int cakePoint) {
burnMonoPipe(line, col, "burnControlCommandUnsupported:0x" + Integer.toHexString(cakePoint));
}
@Override
default void burnSandWalkerOutOfRhythm(int line, int col) {
burnMonoPipe(line, col, "burnSandWalkerOutOfRhythm");