The attached file contains a small update for the latest version of SAS edit mode that has been updated by ezust in revision 15306.
The update only concerns range comments that start with * and that end with ;
Previous versions (revision 15306) did not allow rows of these range comments. The new version allows up to two range comments of these type in a row - this is likely to cover all common use-cases.
In order to implement this I define a new comment2 that defines a "full range-comment plus the start of the second range comment" as the beginning of the second range comment.
This is the first time that I use regexp seriously - so please check carefully.
I will also attach a file with testcases that are now all covered.
Note that I do not intend to implement more than two comment2 range comments in a row since this seems not worth the effort - and computation time.
Log in to post a comment.