aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler/ast/CondExpr.java
diff options
context:
space:
mode:
authorakuznetsov <akuznetsov@tradingview.com>2023-09-26 15:57:53 +0400
committerakuznetsov <akuznetsov@tradingview.com>2023-10-04 14:06:05 +0400
commitd5a7881381080fa4953b24c069675ca435598b95 (patch)
tree7a94b14981dde07f72068b1bb0704e7b4c2f3fc8 /src/main/javassist/compiler/ast/CondExpr.java
parent700be6f6f9546e8af049b1a763ce27f1fde5955d (diff)
downloadjavassist-d5a7881381080fa4953b24c069675ca435598b95.tar.gz
javassist-d5a7881381080fa4953b24c069675ca435598b95.zip
add line numbers and test
Diffstat (limited to 'src/main/javassist/compiler/ast/CondExpr.java')
-rw-r--r--src/main/javassist/compiler/ast/CondExpr.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/javassist/compiler/ast/CondExpr.java b/src/main/javassist/compiler/ast/CondExpr.java
index 46435012..e4b6e07b 100644
--- a/src/main/javassist/compiler/ast/CondExpr.java
+++ b/src/main/javassist/compiler/ast/CondExpr.java
@@ -25,8 +25,8 @@ public class CondExpr extends ASTList {
/** default serialVersionUID */
private static final long serialVersionUID = 1L;
- public CondExpr(ASTree cond, ASTree thenp, ASTree elsep) {
- super(cond, new ASTList(thenp, new ASTList(elsep)));
+ public CondExpr(ASTree cond, ASTree thenp, ASTree elsep, int lineNumber) {
+ super(cond, new ASTList(thenp, new ASTList(elsep, lineNumber), lineNumber), lineNumber);
}
public ASTree condExpr() { return head(); }