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-prettyprint

language Stratego-Sugar

/**
* Testcases Pretty-Print
*/
test Rename S-Rule

module test-prettyprint
rules
bar(
refactor rename-refactoring(“foo”)

Submitted by Maartje on 4 August 2011 at 14:31

On 7 August 2011 at 15:30 Maartje tagged testing

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