Infer type in generic instance creation.
Infer type in generic instance creation.
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user