From 6abc73cba37a5d68258f3f1d13b0e60d5b3f0d49 Mon Sep 17 00:00:00 2001 From: parrt Date: Sun, 20 Nov 2011 15:04:48 -0800 Subject: [PATCH] tweak [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9418] --- runtime/Java/src/org/antlr/v4/runtime/ANTLRStringStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/ANTLRStringStream.java b/runtime/Java/src/org/antlr/v4/runtime/ANTLRStringStream.java index f042cc0b8..c78a79f3d 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/ANTLRStringStream.java +++ b/runtime/Java/src/org/antlr/v4/runtime/ANTLRStringStream.java @@ -121,7 +121,7 @@ public class ANTLRStringStream implements CharStream { /** mark/release do nothing; we have entire buffer */ @Override public int mark() { - return p; + return -1; } @Override