diff --git a/jflex/src/main/java/jflex/Emitter.java b/jflex/src/main/java/jflex/Emitter.java index a928cf12b..99fa0c468 100644 --- a/jflex/src/main/java/jflex/Emitter.java +++ b/jflex/src/main/java/jflex/Emitter.java @@ -891,10 +891,10 @@ private void emitLexFunctHeader() { println(" zzCh = Character.codePointAt(zzBufferL, zzCurrentPosL, zzMarkedPosL);"); println(" zzCharCount = Character.charCount(zzCh);"); println(" switch (zzCh) {"); - println(" case '\\u000B': // fall though"); - println(" case '\\u000C': // fall though"); - println(" case '\\u0085': // fall though"); - println(" case '\\u2028': // fall though"); + println(" case '\\u000B': // fall through"); + println(" case '\\u000C': // fall through"); + println(" case '\\u0085': // fall through"); + println(" case '\\u2028': // fall through"); println(" case '\\u2029':"); if (scanner.lineCount) println(" yyline++;"); if (scanner.columnCount) println(" yycolumn = 0;"); @@ -951,11 +951,11 @@ private void emitLexFunctHeader() { println(" if (zzMarkedPosL > zzStartRead) {"); println(" switch (zzBufferL[zzMarkedPosL-1]) {"); println(" case '\\n':"); - println(" case '\\u000B': // fall though"); - println(" case '\\u000C': // fall though"); - println(" case '\\u0085': // fall though"); - println(" case '\\u2028': // fall though"); - println(" case '\\u2029': // fall though"); + println(" case '\\u000B': // fall through"); + println(" case '\\u000C': // fall through"); + println(" case '\\u0085': // fall through"); + println(" case '\\u2028': // fall through"); + println(" case '\\u2029': // fall through"); println(" zzAtBOL = true;"); println(" break;"); println(" case '\\r': ");