FC18: Re-used salah error smoke signal
This commit is contained in:
parent
44c66c5154
commit
2f42aa8b6b
2 changed files with 2 additions and 13 deletions
|
|
@ -837,13 +837,13 @@ public class FourCornerZionStenoLexer implements FourCornerZionStenoPetroglyphs
|
||||||
Optional<FCDotCDC1604DiceSaw> diceOpt = FCDotCDC1604DiceSaw.valueOfCakePoint(cdcPoint);
|
Optional<FCDotCDC1604DiceSaw> diceOpt = FCDotCDC1604DiceSaw.valueOfCakePoint(cdcPoint);
|
||||||
if (diceOpt.isEmpty()) {
|
if (diceOpt.isEmpty()) {
|
||||||
lexer.decModeReset();
|
lexer.decModeReset();
|
||||||
lexer.smokeSignals.burnControlCommandUnsupported(lexer.currLine, lexer.currCol, cdcPoint);
|
lexer.smokeSignals.burnSalahInvalidCakePoint(lexer.currLine, lexer.currCol, cdcPoint);
|
||||||
return false; // not handled thus print
|
return false; // not handled thus print
|
||||||
}
|
}
|
||||||
FCDotCDC1604DiceSaw dice = diceOpt.get();
|
FCDotCDC1604DiceSaw dice = diceOpt.get();
|
||||||
if (!FCDotCDC1604DiceSaw.FACE_1NX.equals(dice)) {
|
if (!FCDotCDC1604DiceSaw.FACE_1NX.equals(dice)) {
|
||||||
lexer.decModeReset();
|
lexer.decModeReset();
|
||||||
lexer.smokeSignals.burnControlCommandUnsupported(lexer.currLine, lexer.currCol, cdcPoint);
|
lexer.smokeSignals.burnSalahInvalidCakePoint(lexer.currLine, lexer.currCol, cdcPoint);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
int value = dice.decodeOctal(0, cdcPoint);
|
int value = dice.decodeOctal(0, cdcPoint);
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,6 @@ public interface FourCornerZionStenoLexerSmoke {
|
||||||
|
|
||||||
void burnLexerReservedCakePoint(int line, int col, int cakePoint);
|
void burnLexerReservedCakePoint(int line, int col, int cakePoint);
|
||||||
|
|
||||||
void burnControlCommandUnsupported(int line, int col, int cakePoint);
|
|
||||||
|
|
||||||
|
|
||||||
void burnSalahInvalidCakePoint(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) {
|
default void burnSalahIgnoredSequence(int line, int col, int cakePoint) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
default void burnControlCommandUnsupported(int line, int col, int cakePoint) {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
default void burnSandWalkerOutOfRhythm(int line, int col) {
|
default void burnSandWalkerOutOfRhythm(int line, int col) {
|
||||||
}
|
}
|
||||||
|
|
@ -108,11 +102,6 @@ public interface FourCornerZionStenoLexerSmoke {
|
||||||
burnMonoPipe(line, col, "burnSalahIgnoredSequence:0x" + Integer.toHexString(cakePoint));
|
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
|
@Override
|
||||||
default void burnSandWalkerOutOfRhythm(int line, int col) {
|
default void burnSandWalkerOutOfRhythm(int line, int col) {
|
||||||
burnMonoPipe(line, col, "burnSandWalkerOutOfRhythm");
|
burnMonoPipe(line, col, "burnSandWalkerOutOfRhythm");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue