[jruby-joni] 22/194: move target down in debug info

Hideki Yamane henrich at moszumanska.debian.org
Thu Feb 1 12:04:09 UTC 2018


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository jruby-joni.

commit afa15c1108e4be02201d137b58d464459a900c5d
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Fri Dec 22 16:07:34 2017 +0100

    move target down in debug info
---
 src/org/joni/ast/CallNode.java       | 3 +--
 src/org/joni/ast/EncloseNode.java    | 3 +--
 src/org/joni/ast/QuantifierNode.java | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/org/joni/ast/CallNode.java b/src/org/joni/ast/CallNode.java
index a361544..59425ee 100644
--- a/src/org/joni/ast/CallNode.java
+++ b/src/org/joni/ast/CallNode.java
@@ -77,9 +77,8 @@ public final class CallNode extends StateNode {
         StringBuilder value = new StringBuilder(super.toString(level));
         value.append("\n  name: " + new String(name, nameP, nameEnd - nameP));
         value.append("\n  groupNum: " + groupNum);
-        value.append("\n  target: " + pad(target.getAddressName(), level + 1));
         value.append("\n  unsetAddrList: " + pad(unsetAddrList, level + 1));
-
+        value.append("\n  target: " + pad(target.getAddressName(), level + 1));
         return value.toString();
     }
 
diff --git a/src/org/joni/ast/EncloseNode.java b/src/org/joni/ast/EncloseNode.java
index 0ce827e..0a39325 100644
--- a/src/org/joni/ast/EncloseNode.java
+++ b/src/org/joni/ast/EncloseNode.java
@@ -86,13 +86,12 @@ public final class EncloseNode extends StateNode implements EncloseType {
         value.append("\n  type: " + typeToString());
         value.append("\n  regNum: " + regNum);
         value.append("\n  option: " + Option.toString(option));
-        value.append("\n  target: " + pad(target, level + 1));
         value.append("\n  callAddr: " + callAddr);
         value.append("\n  minLength: " + minLength);
         value.append("\n  maxLength: " + maxLength);
         value.append("\n  charLength: " + charLength);
         value.append("\n  optCount: " + optCount);
-
+        value.append("\n  target: " + pad(target, level + 1));
         return value.toString();
     }
 
diff --git a/src/org/joni/ast/QuantifierNode.java b/src/org/joni/ast/QuantifierNode.java
index d75aa27..e16005b 100644
--- a/src/org/joni/ast/QuantifierNode.java
+++ b/src/org/joni/ast/QuantifierNode.java
@@ -84,7 +84,6 @@ public final class QuantifierNode extends StateNode {
     @Override
     public String toString(int level) {
         StringBuilder value = new StringBuilder(super.toString(level));
-        value.append("\n  target: " + pad(target, level + 1));
         value.append("\n  lower: " + lower);
         value.append("\n  upper: " + upper);
         value.append("\n  greedy: " + greedy);
@@ -93,7 +92,7 @@ public final class QuantifierNode extends StateNode {
         value.append("\n  nextHeadExact: " + pad(nextHeadExact, level + 1));
         value.append("\n  isRefered: " + isRefered);
         value.append("\n  combExpCheckNum: " + combExpCheckNum);
-
+        value.append("\n  target: " + pad(target, level + 1));
         return value.toString();
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git



More information about the pkg-java-commits mailing list