From: Christian Grothoff Date: Thu, 19 May 2011 08:17:35 +0000 (+0000) Subject: trying to fix function argument parsing X-Git-Tag: initial-import-from-subversion-38251~18451 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6b04cd6ea5efcb1b2b59a04302c8a88f638c55c9;p=oweals%2Fgnunet.git trying to fix function argument parsing --- diff --git a/src/monkey/seaspider/org/gnunet/seaspider/ExpressionExtractorVisitor.java b/src/monkey/seaspider/org/gnunet/seaspider/ExpressionExtractorVisitor.java index def981ea3..06643fdbd 100644 --- a/src/monkey/seaspider/org/gnunet/seaspider/ExpressionExtractorVisitor.java +++ b/src/monkey/seaspider/org/gnunet/seaspider/ExpressionExtractorVisitor.java @@ -118,11 +118,13 @@ public class ExpressionExtractorVisitor extends DepthFirstVisitor { ExpressionBuilder old = current_expression; current_expression = new ExpressionBuilder(); n.f0.accept(this); + LineNumberInfo lin = LineNumberInfo.get(n); if (old != null) { old.push(current_expression.expression); - LineNumberInfo lin = LineNumberInfo.get(n); old.commit(lin.lineEnd); - } + } else { + current_expression.commit(lin.lineEnd); + } current_expression = old; skip_mode = old_mode; } else {