61ccc78

Faddle · faddle.git · Tickets

Branches > main > 61ccc78 > files

Add comments to the reader

Grahp, 2026-07-19

Commit: 61ccc7859aa10abad8c0c253db222e722a19de06
Parent: 4377935

1 changed file:

org/faddle/lang/read.lua modified (view file)

@@ -43,8 +43,16 @@   end    local function skip_whitespace()-    while pos <= len and whitespace[peek()] do-      pos = pos + 1+    while pos <= len do+      local c = peek()+      if whitespace[c] then+        pos = pos + 1+      elseif c == ";" then+        repeat pos = pos + 1+        until pos > len or peek() == "\n" or peek() == "\r"+      else+        break+      end     end   end