mwleeds / epigram

Automatically exported from code.google.com/p/epigram
0 stars 0 forks source link

Demo: one-line comment in Cochon #91

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When running the Epigram mode, we tend to send lines to move down in the file. 
As it happens, we sometimes send a one-line comment on our way down. 

This leads to an error while it would be rather easy to ignore the line.

Original issue reported on code.google.com by pedag...@gmail.com on 7 Sep 2010 at 11:02

GoogleCodeExporter commented 8 years ago
In pigmode, a "--.*$" is replaced by nothing. 

This is a front-end hack, to avoid hacking Cochon command tokenizer/parser 
(because it already is quite horrible).

Original comment by pedag...@gmail.com on 11 Sep 2010 at 11:22