$OpenBSD: patch-texk_web2c_alephdir_eobase_ch,v 1.1 2011/11/23 12:00:45 edd Exp $

line number fix on 2011 stable branch: http://tug.org/pipermail/tldistro/2011q4/000148.html

--- texk/web2c/alephdir/eobase.ch.origy	Thu Mar 24 17:18:25 2011
+++ texk/web2c/alephdir/eobase.ch	Sat Oct  1 13:48:55 2011
@@ -805,10 +805,9 @@ created by the \.{\\scantokens} command.
 @x [22] m.313 l.6794 - e-TeX scan_tokens
 else  begin print_nl("l."); print_int(line);
 @y
-else if index<>in_open then {input from a pseudo file}
-  begin print_nl("l."); print_int(line_stack[index+1]);
-  end
-else  begin print_nl("l."); print_int(line);
+else  begin print_nl("l.");
+  if index=in_open then print_int(line)
+  else print_int(line_stack[index+1]); {input from a pseudo file}
 @z
 %---------------------------------------
 @x [22] m.314 l.6814 - e-TeX basic
