[jruby-joni] 104/223: cleanup.
Hideki Yamane
henrich at moszumanska.debian.org
Mon Nov 16 11:21:56 UTC 2015
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 8383af80d9ba9f31f8917d60a1e764fb8db73f97
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Mon Feb 20 02:43:09 2012 +0100
cleanup.
---
src/org/joni/Parser.java | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/org/joni/Parser.java b/src/org/joni/Parser.java
index e82d857..6ee740e 100644
--- a/src/org/joni/Parser.java
+++ b/src/org/joni/Parser.java
@@ -436,7 +436,7 @@ class Parser extends Lexer {
if (Config.USE_NAMED_GROUP) {
if (syntax.op2QMarkLtNamedGroup()) {
listCapture = false; // goto named_group1
- node = namedGroup2(listCapture);
+ node = parseEncloseNamedGroup2(listCapture);
break;
} else {
newSyntaxException(ERR_UNDEFINED_GROUP_OPTION);
@@ -456,7 +456,7 @@ class Parser extends Lexer {
c = '<';
listCapture = false; // named_group1:
- node = namedGroup2(listCapture); // named_group2:
+ node = parseEncloseNamedGroup2(listCapture); // named_group2:
break;
} else {
newSyntaxException(ERR_UNDEFINED_GROUP_OPTION);
@@ -474,9 +474,7 @@ class Parser extends Lexer {
fetch();
if (c == '<' || c == '\'') {
listCapture = true;
- // /* (?@<name>...) */
- // goto !named_group2;!
- node = namedGroup2(listCapture);
+ node = parseEncloseNamedGroup2(listCapture); // goto named_group2 /* (?@<name>...) */
}
unfetch();
}
@@ -592,7 +590,7 @@ class Parser extends Lexer {
return node; // ??
}
- private Node namedGroup2(boolean listCapture) {
+ private Node parseEncloseNamedGroup2(boolean listCapture) {
int nm = p;
int num = fetchName(c, false);
int nameEnd = value;
--
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