about summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-08-31 19:50:47 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-08-31 19:50:47 +0000
commit2e3363ef7d1492bf8644b7cad89e500c3fc3251b (patch)
tree76c78bab1cefdc22c428105af8a1f30475583505 /Src/parse.c
parent2c52a13aa5d18797b6acdc40b03dfd1bc3a60eeb (diff)
downloadzsh-2e3363ef7d1492bf8644b7cad89e500c3fc3251b.tar.gz
zsh-2e3363ef7d1492bf8644b7cad89e500c3fc3251b.tar.xz
zsh-2e3363ef7d1492bf8644b7cad89e500c3fc3251b.zip
25571: when parsing use line numbers for the start of a token, not the end
add test and move debug trap tests to new file
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/parse.c b/Src/parse.c
index a455b591e..295b4922f 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -721,7 +721,7 @@ static int
 par_pline(int *complex)
 {
     int p;
-    zlong line = lineno;
+    zlong line = toklineno;
 
     p = ecadd(0);