Skip to content

Commit

Permalink
Fix typo in "fall through"
Browse files Browse the repository at this point in the history
s/though/trough

Issue #222
  • Loading branch information
regisd committed Aug 28, 2018
1 parent 8b3544b commit 939688d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions jflex/src/main/java/jflex/Emitter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;");
Expand Down Expand Up @@ -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': ");
Expand Down

0 comments on commit 939688d

Please sign in to comment.