mailing-list for TeXmacs Users

Text archives Help


[TeXmacs] Progrogramming error / typoo in parse_string.cpp


Chronological Thread 
  • From: Enrique Perez-Terron <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] Progrogramming error / typoo in parse_string.cpp
  • Date: Mon, 06 Oct 2008 17:55:35 +0200

In 1.0.6.15,
file src/Kernel/Types/parse_string.cpp, line 64, there is an obvious
error:

char
parse_string_rep::get_char (int n) {
if (is_nil (l)) return 0;
if (p->item + n < N (l->item))
return l->item [p->item + n];

list<string> ll= l;
list<int> pp= p;
while (!is_nil (l) && pp->item + n >= N (ll->item)) {
---------------------^
n -= (N (ll->item) - pp->item);
ll = ll->next;
pp = pp->next;
}
if (is_nil (ll)) return 0;
return ll->item [pp->item + n];
}

It should read "ll", not "l"

Regards, Enrique



  • [TeXmacs] Progrogramming error / typoo in parse_string.cpp, Enrique Perez-Terron, 10/06/2008

Archive powered by MHonArc 2.6.19.

Top of page