aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler/ast/BinExpr.java
diff options
context:
space:
mode:
authorShigeru Chiba <chibash@users.noreply.github.com>2024-05-03 19:01:47 +0900
committerGitHub <noreply@github.com>2024-05-03 19:01:47 +0900
commitbb261b443831e52409eeed6e49ddfb24db2c4d08 (patch)
tree3f8189ef73984d71ad0b8fe595c0e3a2a425e6bb /src/main/javassist/compiler/ast/BinExpr.java
parent204d67844433c9b781054154695eeb14c2291847 (diff)
parent9777bae93cc84249fe08a7e81b2101c415bd55e5 (diff)
downloadjavassist-bb261b443831e52409eeed6e49ddfb24db2c4d08.tar.gz
javassist-bb261b443831e52409eeed6e49ddfb24db2c4d08.zip
Merge pull request #484 from kuznet1/master
Line numbers support
Diffstat (limited to 'src/main/javassist/compiler/ast/BinExpr.java')
-rw-r--r--src/main/javassist/compiler/ast/BinExpr.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/javassist/compiler/ast/BinExpr.java b/src/main/javassist/compiler/ast/BinExpr.java
index 9630ada9..789312ec 100644
--- a/src/main/javassist/compiler/ast/BinExpr.java
+++ b/src/main/javassist/compiler/ast/BinExpr.java
@@ -33,12 +33,12 @@ public class BinExpr extends Expr {
/** default serialVersionUID */
private static final long serialVersionUID = 1L;
- private BinExpr(int op, ASTree _head, ASTList _tail) {
- super(op, _head, _tail);
+ private BinExpr(int op, ASTree _head, ASTList _tail, int lineNumber) {
+ super(op, _head, _tail, lineNumber);
}
- public static BinExpr makeBin(int op, ASTree oprand1, ASTree oprand2) {
- return new BinExpr(op, oprand1, new ASTList(oprand2));
+ public static BinExpr makeBin(int op, ASTree oprand1, ASTree oprand2, int lineNumber) {
+ return new BinExpr(op, oprand1, new ASTList(oprand2, lineNumber), lineNumber);
}
@Override