protected boolean isArgument ( final String fragment ) { String s = fragment . trim ( ) ; if ( s . length ( ) > 0 ) { return s . charAt ( s . length ( ) - 1 ) != COBOL_DELIMITER ; } return false ; }
Examine characters before an assumed level . If these characters are not terminated by a COBOL delimiter then the level is actually an argument to a previous keyword not an actual level .