diff --git a/AlgebraicDataflowArchitectureModel/src/parser/Parser.java b/AlgebraicDataflowArchitectureModel/src/parser/Parser.java index b3d9f7b..25f1d71 100644 --- a/AlgebraicDataflowArchitectureModel/src/parser/Parser.java +++ b/AlgebraicDataflowArchitectureModel/src/parser/Parser.java @@ -380,9 +380,10 @@ * @param token * @param specificTokenName */ - protected Boolean isMatchSpecificToken(final String token, final String specificToken) { + protected Boolean isMatchKeyword(final String token, final String specificTokenName) { if(token == null) return false; - return (token.equals(specificToken)); + if(specificTokenName == null) return false; + return token.equals(specificTokenName); } /**--------------------------------------------------------------------------------