diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-08-16 00:12:31 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-08-16 00:12:31 -0700 |
commit | 05b95e0aafd208f5f73e48dce905b1b59d8770c1 (patch) | |
tree | b1d42b9aa7441856cd847d1532b6958de7da4f5d /apps | |
parent | 37ea8c410ecf889125a27c5f872f723db8033813 (diff) | |
download | mu-05b95e0aafd208f5f73e48dce905b1b59d8770c1.tar.gz |
.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/desugar.subx | 8 |
1 files 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) -> <void # while true # clear-stream(line) # read-line-buffered(in, line) - # if (line->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) |