It is now a compile-time option whether to treat []- and {}-bracketed sequences
as text to be passed through (without the brackets in the case of {}) literally, which is the case by default because Robert Chilton requested it, or the old, ad-hoc mechanism which could be useful for finding some ugly input. Made a couple of error messages a little more verbose now that we have short-message mode.
This commit is contained in:
parent
a69f7588b2
commit
df262aa148
4 changed files with 475 additions and 271 deletions
|
@ -32,6 +32,12 @@ import java.io.*;
|
|||
* kind. Scanning errors are also encoded as TStrings using a special
|
||||
* type.
|
||||
*
|
||||
* <p><em>Note well</em> that when parsing ACIP, certain types of
|
||||
* TStrings (corrections, comments, question, dd, bp, etc.) will not be
|
||||
* encountered if {@link
|
||||
* ACIPTshegBarScanner#BRACKETED_SECTIONS_PASS_THROUGH_UNMODIFIED} is
|
||||
* true.</p>
|
||||
*
|
||||
* @author David Chandler */
|
||||
public class TString {
|
||||
private int type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue