Infer type in generic instance creation.

Infer type in generic instance creation.
This commit is contained in:
Unknown
2018-11-10 08:10:00 -03:00
parent 0c1afc426d
commit acff745aae

View File

@ -19,16 +19,16 @@ public class FortranTokenizer extends AbstractTokenizer implements Tokenizer {
public FortranTokenizer() {
this.spanMultipleLinesString = false; // No such thing in Fortran !
// setting markers for "string" in Fortran
this.stringToken = new ArrayList<String>();
this.stringToken = new ArrayList<>();
this.stringToken.add("\'");
// setting markers for 'ignorable character' in Fortran
this.ignorableCharacter = new ArrayList<String>();
this.ignorableCharacter = new ArrayList<>();
this.ignorableCharacter.add("(");
this.ignorableCharacter.add(")");
this.ignorableCharacter.add(",");
// setting markers for 'ignorable string' in Fortran
this.ignorableStmt = new ArrayList<String>();
this.ignorableStmt = new ArrayList<>();
this.ignorableStmt.add("do");
this.ignorableStmt.add("while");
this.ignorableStmt.add("end");