Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaneberly committed Jun 30, 2016
1 parent f5335da commit a87460a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/com/cflint/CFLint.java
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,11 @@ private void process(final CFExpression expression, final String filename, final
// .setExpression(expression.Decompile(0)).build(expression, elem));
// }
for (final CFExpression expr : cfFunctionExpr.getArgs()) {
process(expr, filename, elem, functionName);
if(expr instanceof CFAssignmentExpression){
process(((CFAssignmentExpression) expression).getRight(), filename, elem, functionName);
}else{
process(expr, filename, elem, functionName);
}
}
} else if (expression instanceof CFIdentifier) {
final String name = ((CFIdentifier) expression).getName();
Expand Down

0 comments on commit a87460a

Please sign in to comment.