summaryrefslogtreecommitdiffstats
path: root/Src/input.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-03-08 01:20:49 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-03-08 01:20:49 +0000
commit25413054c11fc4b67284d4d6db48272182da1d26 (patch)
tree7a7e7a187e8c505d531e1f5d354f846b24de646a /Src/input.c
parentusers/12699: don't complete normal arguments where we're completing the (diff)
downloadzsh-25413054c11fc4b67284d4d6db48272182da1d26.tar
zsh-25413054c11fc4b67284d4d6db48272182da1d26.tar.gz
zsh-25413054c11fc4b67284d4d6db48272182da1d26.tar.bz2
zsh-25413054c11fc4b67284d4d6db48272182da1d26.tar.lz
zsh-25413054c11fc4b67284d4d6db48272182da1d26.tar.xz
zsh-25413054c11fc4b67284d4d6db48272182da1d26.tar.zst
zsh-25413054c11fc4b67284d4d6db48272182da1d26.zip
24699: bug with ${(Q)...} on initial ">"
bug with ${(z)...} on string with unterminated "("
Diffstat (limited to 'Src/input.c')
-rw-r--r--Src/input.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Src/input.c b/Src/input.c
index 99db53e54..d6fd8d089 100644
--- a/Src/input.c
+++ b/Src/input.c
@@ -566,3 +566,15 @@ inpopalias(void)
while (inbufflags & INP_ALIAS)
inpoptop();
}
+
+
+/*
+ * Get pointer to remaining string to read.
+ */
+
+/**/
+char *
+ingetptr(void)
+{
+ return inbufptr;
+}