nimblemachines/muforth — pull request #4 by dram (2012-02-27 12:57:38+00:00)
Title: fix a bug of -- full-line comments

As `mu_scan` will consume newline char if it follows a word, `--` will comment out next line if there is nothing in its own line. For example, following code will show nothing.

--
." foo"

The fix in pull request is a little weird, as there is no `if` and `=` at the time of its definition. A much clear version would be:

: -- parsed drop 2 + c@ bl = if
ctrl J parse 2drop then ;