Fix some issues with handling newlines in syntactic terminals, such as in multi-line doc comments and string templates. Also refactor some functions added/changed since #822.
./self-compile --refactor-concise-functions is now clean when run on the Silver compiler, and does not perform any additional changes.
Documentation
Added a comment. This is a bug fix.
Testing
Ran the concise functions refactoring pass on Silver and ableC, it now does not cause any superfluous indentation changes.
Changes
Fix some issues with handling newlines in syntactic terminals, such as in multi-line doc comments and string templates. Also refactor some functions added/changed since #822.
./self-compile --refactor-concise-functions
is now clean when run on the Silver compiler, and does not perform any additional changes.Documentation
Added a comment. This is a bug fix.
Testing
Ran the concise functions refactoring pass on Silver and ableC, it now does not cause any superfluous indentation changes.