jostylr / literate-programming

Creating programs from Markdown code blocks
MIT License
136 stars 15 forks source link

Single period after a named code block causes error #14

Closed HomenSimpsor closed 9 years ago

HomenSimpsor commented 9 years ago

If I use a single period on the next line after a named code block, like so:

`$255` ←
[address of program name]()
.

See context at https://github.com/Wideshanks/mmix-hw/commit/ea56c340dd9a1e227ba99f0daec7e10f37c8957c

I get build errors: image

Any other word, or single character like a letter, comma, dash, or more than one period works successfully.

jostylr commented 9 years ago

Fixed. It was a deprecated feature. In the old days, the switch parsers were a ". SWITCH NAME". It was deprecated awhile ago and forgotten, but I have now removed it. Tests pass and this problem is removed. Check out v 0.8.3