newline at the end of .spt file
spt files often give syntax errors if there are not enough new lines at the end of the file.
example (requires two newlines at the end):
module test-prettyprintlanguage Stratego-Sugar
/**
Submitted by Maartje on 4 August 2011 at 14:31
* Testcases Pretty-Print
*/
test Rename S-Rule
module test-prettyprint
rules
bar( refactor rename-refactoring(“foo”)
Issue Log
On 19 October 2011 at 10:21 Lennart Kats commented:
This particular example seems to work fine, although there is a minor syntax highlighting glitch on the last line.
On 19 October 2011 at 10:21 Lennart Kats tagged needsinfo
Log in to post comments