[jruby-joni] 147/194: add escape warning
Hideki Yamane
henrich at moszumanska.debian.org
Thu Feb 1 12:04:36 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 3a8378bcc2652ed71664048fe007a36f333f66eb
Author: lopex <lopx at gazeta.pl>
Date: Thu Jan 11 15:24:07 2018 +0100
add escape warning
---
src/org/joni/ScanEnvironment.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/org/joni/ScanEnvironment.java b/src/org/joni/ScanEnvironment.java
index 6262e8a..9a688dd 100644
--- a/src/org/joni/ScanEnvironment.java
+++ b/src/org/joni/ScanEnvironment.java
@@ -120,10 +120,10 @@ public final class ScanEnvironment {
case 'b': return '\010';
case 'e': return '\033';
case 'v':
- if (syntax.op2EscVVtab()) return 11; // ???
+ if (syntax.op2EscVVtab()) return 11; // '\v'
break;
default:
- break;
+ if (('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z')) ccEscWarn(String.valueOf((char)c));
}
}
return c;
--
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