From 05b95e0aafd208f5f73e48dce905b1b59d8770c1 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 16 Aug 2019 00:12:31 -0700 Subject: . --- apps/desugar.subx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/desugar.subx b/apps/desugar.subx index ae921caf..80c0eb5e 100644 --- a/apps/desugar.subx +++ b/apps/desugar.subx @@ -67,14 +67,14 @@ convert: # in : (address buffered-file), out : (address buffered-file) -> write == 0) break # end of file + # if (line->write == 0) break # end of file # while true # var word-slice = next-word(line) - # if slice-empty?(word-slice) # end of line + # if slice-empty?(word-slice) # end of line # break - # if slice-starts-with?(word-slice, "#") # comment + # if slice-starts-with?(word-slice, "#") # comment # continue - # if slice-starts-with?(word-slice, '%') # register literal <== what we're here for + # if slice-starts-with?(word-slice, '%') # register literal <== what we're here for # desugar-register(word-slice, out) # else # write-slice-buffered(out, word-slice) -- cgit 1.4.1-2-gfad0