No longer accept arbitrary lines as SQL*Plus commands.
Accept double ampersand as well
Replaced StringBuffer with StringBuilder again
Basic support for ampersand and backslash characters. At least the parser now accepts these characters and can parse a lot more typical scripts.
Support for common SQL*Plus command abbreviations, support for special characters in HOST, REMARK, REM commands.
Support for detecting excluded ranges in the top-level Input node with rules.
Allow excluding lines from the parser using comments -- PMD-EXCLUDE-BEGIN and -- PMD-EXCLUDE-END. This is to workaround bugs in the PL/SQL parser - some valid statements cannot be parsed. by wrapping them inside PMD-EXCLUDE-BEGIN/END the parser just ignores them and continues parsing with the next line.
Good work, thank you.