From 7222b2fb24ccd188c029d71d25f12f3006fc1b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20D=C3=A9camps?= Date: Wed, 29 Aug 2018 13:28:21 +0200 Subject: [PATCH] Fix typo in "fall through" (#279) s/though/through Issue #222 --- jflex/src/main/java/jflex/Emitter.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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': ");