61ccc78
Branches > main > 61ccc78 > files
Add comments to the reader
Commit: 61ccc7859aa10abad8c0c253db222e722a19de06
Parent: 4377935
1 changed file:
org/faddle/lang/read.lua 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