From bfb7ab7c59efa3768763638509fc5f5f4ffe1f08 Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Fri, 16 Oct 2026 11:16:16 +0100 Subject: [PATCH] continue (report 2026-10.31) A reserved word, the last, so that the others keep the seed's numbers. Loop gains cont, a chain fixed where the round ends: a while's test, a repeat's until, a for's step; deferred statements run on the way, and a lone continue is one conditional jump (loneJump). The seed's dumpers intern continue first (src/test/seedcontinue.pas), so names number alike on both sides. tools/Scan.raz and the vim and emacs modes know the word. Tests in conform/, messages in test/msg. --- diff --git a/conform/err/ContinueDefer.raz b/conform/err/ContinueDefer.raz new file mode 100644 index 0000000..9940b94 --- /dev/null +++ b/conform/err/ContinueDefer.raz @@ -0,0 +1,11 @@ +module ContinueDefer; +import Out; +proc main*; +var i: INT; +begin + for i := 1 to 3 do + defer continue; + Out.int(i); + end; +end; +end ContinueDefer. diff --git a/conform/err/ContinueName.raz b/conform/err/ContinueName.raz new file mode 100644 index 0000000..aebd491 --- /dev/null +++ b/conform/err/ContinueName.raz @@ -0,0 +1,7 @@ +module ContinueName; +proc main*; +var continue: INT; +begin + continue := 1; +end; +end ContinueName. diff --git a/conform/err/ContinueOutside.raz b/conform/err/ContinueOutside.raz new file mode 100644 index 0000000..2767252 --- /dev/null +++ b/conform/err/ContinueOutside.raz @@ -0,0 +1,6 @@ +module ContinueOutside; +proc main*; +begin + continue; +end; +end ContinueOutside. diff --git a/conform/run/Continue.expect b/conform/run/Continue.expect new file mode 100644 index 0000000..73688b1 --- /dev/null +++ b/conform/run/Continue.expect @@ -0,0 +1,5 @@ +1 2 4 5 7 8 10 +10 8 six 4 2 +abc +1||3|4| +11 13 ; 21 23 31 33 ; diff --git a/conform/run/Continue.raz b/conform/run/Continue.raz new file mode 100644 index 0000000..3f2f184 --- /dev/null +++ b/conform/run/Continue.raz @@ -0,0 +1,49 @@ +(* continue ends the round of the innermost loop: a while tests its + condition again, a repeat its until, a for steps or ends; and the + statements deferred in the round run on the way (report 2026-10.31, + sections 7.2 and 7.7). *) +module Continue; +import Out; + +proc main*; +var i, j, n: INT; t: []U8; +begin + for i := 1 to 10 do + if i mod 3 = 0 then continue; end; (* a lone continue *) + Out.int(i); Out.str(" "); + end; + Out.ln; + for i := 10 to 1 by -2 do + if i = 6 then Out.str("six "); continue; end; + Out.int(i); Out.str(" "); + end; + Out.ln; + t := "a-b--c"; + i := 0; + while i < LEN(t) do + n := i; + i := i + 1; (* the step first *) + if t[n] = '-' then continue; end; + Out.str(t[n..i]); + end; + Out.ln; + i := 0; + repeat + INC(i); + defer Out.str("|"); + if i = 2 then continue; end; + Out.int(i); + until i >= 4; + Out.ln; + for i := 1 to 3 do (* the innermost loop's round *) + for j := 1 to 3 do + if j = 2 then continue; end; + Out.int(10 * i + j); Out.str(" "); + end; + if i = 2 then continue; end; + Out.str("; "); + end; + Out.ln; +end; + +end Continue. diff --git a/doc/compiler.md b/doc/compiler.md index bc1fbf0..38ba52a 100644 --- a/doc/compiler.md +++ b/doc/compiler.md @@ -14,13 +14,13 @@ | File | Lines | Code | What | |---|---|---|---| | `src/Diag.raz` | 410 | 315 | Messages: positions, source excerpts, colour, counts | -| `src/Scan.raz` | 1,125 | 934 | Symbols, literals, comments, positions | +| `src/Scan.raz` | 1,127 | 934 | Symbols, literals, comments, positions | | `src/Sym.raz` | 687 | 556 | Types, objects, scopes, layout | | `src/Chunk.raz` | 363 | 279 | The compiled program: chunks, fixups, line notes | | `src/X64.raz` | 1,517 | 1,253 | The instruction encoder, jumps within a procedure, the assembler | | `src/Gen.raz` | 2,552 | 1,821 | The stack machine, for x86-64: values, operations, checks, calls, frames | | `src/Item.raz` | 2,037 | 1,651 | Items: types, constants, variables, operators, conversions, calls | -| `src/Parse.raz` | 4,049 | 3,518 | Declarations, statements, expressions, built-ins, recovery, warnings | +| `src/Parse.raz` | 4,065 | 3,532 | Declarations, statements, expressions, built-ins, recovery, warnings | | `src/Link.raz` | 381 | 298 | Tree shaking, layout, patching, the places | | `src/Elf.raz` | 431 | 344 | Static and dynamic ELF, symbol table, line numbers | | `src/Raz.raz` | 305 | 238 | The command line | @@ -1384,7 +1384,11 @@ with gen's labels. A branch of an `if` that ends, in `return` or `break` (`ends`), gets no jump past the others; and `if c then break; end` is one jump out of the loop where `c` holds (`thenPart`, -`loneBreak`, and `Item.condJumpTrue`), not a jump past a jump. A `for` loop +`loneJump`, and `Item.condJumpTrue`), not a jump past a jump; so is +`if c then continue; end`, to the end of the round. A loop keeps two +chains of jumps in its `Loop`: `brk`, fixed after the loop, and +`cont`, for `continue` (report 2026-10.31), fixed where the round ends: +a `while`'s test, a `repeat`'s `until`, a `for`'s step (`forNext`). A `for` loop steps its variable at the top and tests at the bottom, so that a round by 1 is one compare and one jump; its rare case, a body that moves the variable past the limit, has code of its own after (`Item.forNext`, whose @@ -1410,7 +1414,7 @@ is compiled where it stands, as a little subroutine of the procedure that the code jumps over (gen's `deferBegin` and `deferEnd`), and `runDefers` emits a call to it at every way out of its statement list: -the end, `return` and `break`. A `return`'s result waits in the frame +the end, `return`, `break` and `continue`. A `return`'s result waits in the frame meanwhile, so that gen's stack is empty when they run. `try` (report 7.8) is `tryCall`, for the statement, an operand @@ -1769,5 +1773,12 @@ to suit `src/`); a raz that already exists could do it as well. `make fixpoint` has the seed's build compile `src/`, that compile it again, and that again, and checks that the last two are the same file. -`make seed-check` tests each unit of `src/` against the seed's. After any change: `make check`, `make bench`, +`make seed-check` tests each unit of `src/` against the seed's. The +seed has no `continue`, the last reserved word of `src/Scan.raz`, so +the Pascal dumpers in `src/test` use `seedcontinue`, which interns the +name right after the seed's reserved words: every name then has the +same number on both sides, and only the end of a file's symbols, one +higher in `src/`, is renumbered (`ScanDump.raz`'s `seedSym`). A file +that uses something the seed doesn't know is left out (`src/check.sh`'s +`newer`). After any change: `make check`, `make bench`, `make loc`. diff --git a/editor/emacs/raz-mode.el b/editor/emacs/raz-mode.el index a9bd8b6..1470e28 100644 --- a/editor/emacs/raz-mode.el +++ b/editor/emacs/raz-mode.el @@ -22,7 +22,7 @@ :type 'integer :group 'raz) (defconst raz-keywords - '("and" "begin" "break" "by" "code" "const" "defer" "div" "do" "else" + '("and" "begin" "break" "by" "code" "const" "continue" "defer" "div" "do" "else" "elsif" "end" "extern" "for" "forward" "if" "import" "in" "link" "match" "mod" "module" "not" "of" "or" "packed" "proc" "record" "repeat" "return" "set" "shl" "shr" "then" "to" "try" "type" "until" diff --git a/editor/vim/syntax/raz.vim b/editor/vim/syntax/raz.vim index fa23d20..b91176d 100644 --- a/editor/vim/syntax/raz.vim +++ b/editor/vim/syntax/raz.vim @@ -8,7 +8,7 @@ syntax case match -syntax keyword razKeyword and begin break by code const defer div do else +syntax keyword razKeyword and begin break by code const continue defer div do else syntax keyword razKeyword elsif end extern for forward if import in link syntax keyword razKeyword match mod module not of or packed proc record syntax keyword razKeyword repeat return set shl shr then to try type until diff --git a/src/Parse.raz b/src/Parse.raz index cf562c0..3dcdac4 100644 --- a/src/Parse.raz +++ b/src/Parse.raz @@ -34,10 +34,11 @@ PModule = ^Sym.Module; TItem = Item.Item; - (* The innermost loop: the chain of its breaks and the deferred - statements in force outside it *) + (* The innermost loop: the chain of its breaks, the chain of its + continues, and the deferred statements in force outside it *) Loop = record brk: INT; + cont: INT; base: INT; end; PLoop = ^Loop; @@ -1598,6 +1599,7 @@ proc enterLoop(var lp: Loop; var old: PLoop); begin lp.brk := Gen.NoLabel; + lp.cont := Gen.NoLabel; lp.base := numDefers; old := curLoop; curLoop := ADR(lp); @@ -1610,13 +1612,17 @@ for i := numDefers - 1 to base by -1 do Gen.runDefer(defers[i]); end; end; -(* Whether what follows "then" is a lone "break;", with no deferred - statement to run on the way out of the loop: the break must be the - branch's last statement, so ";" and then end, elsif or else follow. *) -proc loneBreak: BOOL; +(* Whether what follows "then" is a lone "break;" or "continue;", with + no deferred statement to run on the way out of the round: it must be + the branch's last statement, so ";" and then end, elsif or else + follow. *) +proc loneJump: BOOL; var st: Scan.State; lone: BOOL; begin - if (Scan.tok # Scan.sBreak) or (curLoop = nil) or (numDefers # curLoop^.base) then return false; end; + if ((Scan.tok # Scan.sBreak) and (Scan.tok # Scan.sContinue)) or (curLoop = nil) + or (numDefers # curLoop^.base) then + return false; + end; Scan.saveScan(st); lone := false; Scan.next; @@ -1630,15 +1636,17 @@ (* The condition x of if or elsif, and the statements it guards, which L skips when it is false. "if c then break; end" is one jump out of - the loop when c holds, not one past a jump out. *) + the loop when c holds, not one past a jump out; "if c then continue; + end" one jump to the end of the round. *) proc thenPart(var x: TItem; var L: INT): ERROR; begin try expect(Scan.sThen); - L := Gen.NoLabel; (* stays so with a lone break: there is nothing to skip *) - if loneBreak() then - Chunk.noteLine(Scan.curLine(), Scan.curCol()); (* the jump gets the break's line *) - try Item.condJumpTrue(x, curLoop^.brk); - Scan.next; Scan.next; (* skip "break" and ";" *) + L := Gen.NoLabel; (* stays so with a lone break or continue: there is nothing to skip *) + if loneJump() then + Chunk.noteLine(Scan.curLine(), Scan.curCol()); (* the jump gets the break's or continue's line *) + if Scan.tok = Scan.sBreak then try Item.condJumpTrue(x, curLoop^.brk); + else try Item.condJumpTrue(x, curLoop^.cont); end; + Scan.next; Scan.next; (* skip "break" or "continue", and ";" *) ends := true; else try Item.condJump(x, L); @@ -1716,6 +1724,7 @@ Scan.saveScan(after); Scan.restoreScan(cond); Gen.fix(test); + Gen.fix(lp.cont); (* a continue goes to the test *) Chunk.noteLine(Scan.curLine(), Scan.curCol()); try expression(x, nil); ends := (x.mode = Item.mConst) and (x.val # 0) and (lp.brk = Gen.NoLabel); (* while true *) @@ -1741,6 +1750,7 @@ try statements(); curLoop := old; try expect(Scan.sUntil); + Gen.fix(lp.cont); (* a continue goes to the test *) try expression(x, nil); ends := (x.mode = Item.mConst) and (x.val = 0) and (lp.brk = Gen.NoLabel); (* until false *) L := Gen.NoLabel; @@ -1823,6 +1833,7 @@ try statements(); curLoop := old; try closeEnd(start, ind); + Gen.fix(lp.cont); (* a continue goes to the end of the round *) try Item.forNext(o, b, step, exitL, top, body); Gen.fix(exitL); Gen.fix(lp.brk); @@ -2385,6 +2396,11 @@ if curLoop = nil then return Scan.markAt(Scan.spanFrom(start), "break outside a loop"); end; runDefers(curLoop^.base); Gen.jump(curLoop^.brk); + | sContinue: + Scan.next; + if curLoop = nil then return Scan.markAt(Scan.spanFrom(start), "continue outside a loop"); end; + runDefers(curLoop^.base); + Gen.jump(curLoop^.cont); | sDefer: try deferStatement(); | sTry: try tryCall(x); diff --git a/src/Scan.raz b/src/Scan.raz index f53dcd6..7748752 100644 --- a/src/Scan.raz +++ b/src/Scan.raz @@ -22,12 +22,14 @@ sBecomes, sColon, sSemicolon, sComma, sPeriod, sUpto, sEllipsis, sLparen, sRparen, sLbrak, sRbrak, sLbrace, sRbrace, sArrow, sAmp, sTilde, sBar, sBlank, - (* the reserved words, in the order of words below *) + (* the reserved words, in the order of words below: alphabetical + but for continue, which came last (report 2026-10.31), so that + the others keep the numbers the seed gives them *) sAnd, sBegin, sBreak, sBy, sCode, sConst, sDefer, sDiv, sDo, sElse, sElsif, sEnd, sExtern, sFor, sForward, sIf, sImport, sIn, sLink, sMatch, sMod, sModule, sNot, sOf, sOr, sPacked, sProc, sRecord, sRepeat, sReturn, sSet, sShl, sShr, sThen, sTo, sTry, sType, sUntil, sVar, - sVariant, sVolatile, sWhile, sXor, + sVariant, sVolatile, sWhile, sXor, sContinue, sEof); (* Where the scanner is. Importing a module compiles it in the middle @@ -48,7 +50,7 @@ Failed*: ERROR = "reported"; (* an error has been shown: the parser returns it *) MaxIdent* = 63; MaxStr* = 65536; - NumWords = 43; + NumWords = 44; NumOps = 28; words: [NumWords][]U8 = [ "and", "begin", "break", "by", "code", "const", "defer", "div", "do", @@ -56,7 +58,7 @@ "in", "link", "match", "mod", "module", "not", "of", "or", "packed", "proc", "record", "repeat", "return", "set", "shl", "shr", "then", "to", "try", "type", "until", "var", "variant", "VOLATILE", "while", - "xor"]; + "xor", "continue"]; (* sPlus to sBlank *) ops: [NumOps][]U8 = [ "+", "-", "*", "/", "=", "#", "<", "<=", ">", ">=", diff --git a/src/check.sh b/src/check.sh index 6b96e3b..d8bcc97 100755 --- a/src/check.sh +++ b/src/check.sh @@ -15,8 +15,8 @@ # and, through Math, test/bench/NBody.raz use; and returning a slice of # the frame as an error (report 2026-10.27); an array constant typed # []T (report 2026-10.29); [] as the empty slice, seen through a view -# (report 2026-10.30); and U8, I8 and I16 widening to INT (report -# 2026-10.31). +# (report 2026-10.30); and U8, I8 and I16 widening to INT, and +# continue (report 2026-10.31). newer="conform/run/RawStrings.raz conform/err/ScanRawOpen.raz conform/err/ScanRawIndent.raz conform/run/MatchStr.raz conform/err/MatchStrTwice.raz conform/err/MatchStrNoElse.raz conform/err/MatchStrVar.raz conform/err/MatchReal.raz conform/err/AtMatch.raz @@ -28,7 +28,9 @@ conform/run/ArrayConstLen.raz conform/err/ArrayConstLenEmpty.raz conform/err/ArrayConstLenLiteral.raz conform/run/EmptySlice.raz conform/run/SmallWiden.raz conform/err/SmallWidenMade.raz conform/err/SmallWidenNeg.raz - conform/err/SmallWidenI64.raz conform/err/SmallWidenMadeOp.raz" + conform/err/SmallWidenI64.raz conform/err/SmallWidenMadeOp.raz + conform/run/Continue.raz conform/err/ContinueOutside.raz conform/err/ContinueDefer.raz + conform/err/ContinueName.raz" newer() { case $1 in conform/*/View*.raz) return 0 ;; esac for g in $newer; do [ $g = $1 ] && return 0; done diff --git a/src/test/AsmDump.pas b/src/test/AsmDump.pas index 5df5959..0f539c7 100644 --- a/src/test/AsmDump.pas +++ b/src/test/AsmDump.pas @@ -5,7 +5,7 @@ numbers, with a minus sign, and sums of them. } program asmdump; {$mode objfpc}{$H-} -uses diag, scan, chunk, x64; +uses diag, scan, seedcontinue, chunk, x64; var i: longint; path: string; function ConstVal(whole: boolean): int64; diff --git a/src/test/ChunkDump.pas b/src/test/ChunkDump.pas index 3eb721f..b7bf112 100644 --- a/src/test/ChunkDump.pas +++ b/src/test/ChunkDump.pas @@ -3,7 +3,7 @@ ChunkDump.raz does the same and prints the same. } program chunkdump; {$mode objfpc}{$H-} -uses diag, scan, chunk; +uses diag, scan, seedcontinue, chunk; var seed: int64; names: array[0..7] of longint; diff --git a/src/test/GenDump.pas b/src/test/GenDump.pas index 0cbf6f5..b64d148 100644 --- a/src/test/GenDump.pas +++ b/src/test/GenDump.pas @@ -5,7 +5,7 @@ argument, the entry point is the dynamic one. } program gendump; {$mode objfpc}{$H-} -uses diag, scan, sym, chunk, x64, gen; +uses diag, scan, seedcontinue, sym, chunk, x64, gen; const FirstProc = 3; diff --git a/src/test/ItemDump.pas b/src/test/ItemDump.pas index ecc10c3..7a00c42 100644 --- a/src/test/ItemDump.pas +++ b/src/test/ItemDump.pas @@ -8,7 +8,7 @@ so several scripts are run. } program itemdump; {$mode objfpc}{$H-} -uses diag, scan, sym, chunk, x64, gen, item; +uses diag, scan, seedcontinue, sym, chunk, x64, gen, item; const FirstProc = 3; diff --git a/src/test/LinkDump.pas b/src/test/LinkDump.pas index f4cd152..57a628b 100644 --- a/src/test/LinkDump.pas +++ b/src/test/LinkDump.pas @@ -5,7 +5,7 @@ the same and writes the same file. } program linkdump; {$mode objfpc}{$H-} -uses diag, scan, chunk, link, elf; +uses diag, scan, seedcontinue, chunk, link, elf; const NumC = 200; var seed: int64; diff --git a/src/test/ScanBench.pas b/src/test/ScanBench.pas index 75b0336..f3bab1d 100644 --- a/src/test/ScanBench.pas +++ b/src/test/ScanBench.pas @@ -2,7 +2,7 @@ against src/Scan.raz (ScanBench.raz). } program scanbench; {$mode objfpc}{$H-} -uses diag, scan; +uses diag, scan, seedcontinue; var n: longint; begin if Open(ParamStr(1)) <> '' then Fatal('no file'); diff --git a/src/test/ScanDump.pas b/src/test/ScanDump.pas index 1b92f8e..6029094 100644 --- a/src/test/ScanDump.pas +++ b/src/test/ScanDump.pas @@ -3,7 +3,7 @@ so that no formatting library decides what is the same. } program scandump; {$mode objfpc}{$H-} -uses diag, scan; +uses diag, scan, seedcontinue; var i: longint; bits: int64; begin if Open(ParamStr(1)) <> '' then Fatal('no file'); diff --git a/src/test/ScanDump.raz b/src/test/ScanDump.raz index 6d6643c..c5cf657 100644 --- a/src/test/ScanDump.raz +++ b/src/test/ScanDump.raz @@ -1,8 +1,18 @@ (* Prints the symbols of a file, one per line: src/Scan.raz's side of a - test against the seed's, ScanDump.pas, which prints the same. *) + test against the seed's, ScanDump.pas, which prints the same. The + symbols are numbered as the seed numbers them: it has no continue + (report 2026-10.31), the last reserved word here, so its end of the + file is one lower. A file with continue in it isn't compared. *) module ScanDump; import Out, Fmt, Files, Diag, Scan; +(* s as the seed numbers it *) +proc seedSym(s: Scan.Sym): INT; +begin + if s = Scan.sEof then return INT(s) - 1; end; + return INT(s); +end; + proc main*; var p: Diag.Pos; bits: ^U64; i: INT; str: []U8; r: F64; begin @@ -11,7 +21,7 @@ Scan.next; p := Scan.tokPos(); Fmt.print("{}:{}:{} {}:{} {}", [Fmt.int(Diag.lineOf(p)), Fmt.int(p.a), Fmt.int(p.b), - Fmt.int(Scan.curLine()), Fmt.int(Scan.curCol()), Fmt.int(INT(Scan.tok))]); + Fmt.int(Scan.curLine()), Fmt.int(Scan.curCol()), Fmt.int(seedSym(Scan.tok))]); match Scan.tok of | sIdent: Fmt.print(" {} {}", [Fmt.str(Scan.nameOf(Scan.id)), Fmt.int(Scan.id)]); | sInt: Fmt.print(" {}", [Fmt.int(Scan.ival)]); diff --git a/src/test/SymDump.pas b/src/test/SymDump.pas index d87e42d..ef2faeb 100644 --- a/src/test/SymDump.pas +++ b/src/test/SymDump.pas @@ -5,7 +5,7 @@ declared twice, or of too many scopes. } program symdump; {$mode objfpc}{$H-} -uses diag, scan, sym; +uses diag, scan, seedcontinue, sym; const Words: array[0..19] of string = ('alpha', 'alpho', 'beta', 'bet', 'gamma', 'gama', 'delta', 'Delta', 'eps', 'zeta', 'eta', 'theta', 'iota', 'kappa', 'lambda', 'mu', 'nu', 'xi', 'omicron', 'pi'); diff --git a/src/test/X64Dump.pas b/src/test/X64Dump.pas index 3966839..8bcdea0 100644 --- a/src/test/X64Dump.pas +++ b/src/test/X64Dump.pas @@ -4,7 +4,7 @@ src/X64.raz, whose X64Dump.raz does the same and prints the same. } program x64dump; {$mode objfpc}{$H-} -uses diag, scan, chunk, x64; +uses diag, scan, seedcontinue, chunk, x64; var seed: int64; i, k, op, a, b, c, d, lab1, lab2: longint; diff --git a/src/test/seedcontinue.pas b/src/test/seedcontinue.pas new file mode 100644 index 0000000..5b09349 --- /dev/null +++ b/src/test/seedcontinue.pas @@ -0,0 +1,20 @@ +{ The seed has no continue, which report 2026-10.31 made a reserved + word, the last of them in src/Scan.raz. This unit interns the name + right after the seed's reserved words, before any other, so that + every name after it has the number src/ gives it: each dumper that is + compared with src/'s side uses it straight after scan. } +unit seedcontinue; + +{$mode objfpc}{$H-} + +interface + +implementation + +uses scan; + +const Word: string = 'continue'; + +initialization + Intern(@Word[1], length(Word)); +end. diff --git a/test/msg/ContinueDefer.err b/test/msg/ContinueDefer.err new file mode 100644 index 0000000..ca1555e --- /dev/null +++ b/test/msg/ContinueDefer.err @@ -0,0 +1,4 @@ +conform/err/ContinueDefer.raz:7:15: error: continue outside a loop + 7 | defer continue; + | ^^^^^^^^ +raz: 1 error diff --git a/test/msg/ContinueName.err b/test/msg/ContinueName.err new file mode 100644 index 0000000..09ae16b --- /dev/null +++ b/test/msg/ContinueName.err @@ -0,0 +1,4 @@ +conform/err/ContinueName.raz:3:5: error: expected "begin", found "continue" + 3 | var continue: INT; + | ^^^^^^^^ +raz: 1 error diff --git a/test/msg/ContinueOutside.err b/test/msg/ContinueOutside.err new file mode 100644 index 0000000..1e8cecb --- /dev/null +++ b/test/msg/ContinueOutside.err @@ -0,0 +1,4 @@ +conform/err/ContinueOutside.raz:4:5: error: continue outside a loop + 4 | continue; + | ^^^^^^^^ +raz: 1 error diff --git a/tools/Scan.raz b/tools/Scan.raz index c05aaf3..c97eb0a 100644 --- a/tools/Scan.raz +++ b/tools/Scan.raz @@ -20,7 +20,7 @@ end; const - words = "and begin break by code const defer div do else elsif end extern for forward if import in link match mod module not of or packed proc record repeat return set shl shr then to try type until var variant VOLATILE while xor"; + words = "and begin break by code const continue defer div do else elsif end extern for forward if import in link match mod module not of or packed proc record repeat return set shl shr then to try type until var variant VOLATILE while xor"; proc isSpace*(c: U8): BOOL; begin