On Wed, Mar 12, 2003 at 11:21:10AM +0100, Jean-Marc Lasgouttes wrote: > Why is this needed? There is absolutely not requirement in lyxlex that > tags begin with \.
This is what I had assumed then I saw this : 459 if (c == '\\') { // first char == '\\' 460 do { 461 buff[i++] = c; 462 is.get(cc); 463 c = cc; 464 } while (c > ' ' && c != '\\' && is 465 && i != (LEX_MAX_BUFF - 1)); 466 } else { 467 do { 468 buff[i++] = c; 469 is.get(cc); 470 c = cc; 471 } while (c >= ' ' && c != '\\' && is 472 && i != (LEX_MAX_BUFF - 1)); 473 } Therefore, whilst it's not particularly clean, my changes do not introduce a new concept to the lyxlex_pimpl code. So unless I've grossly misread this code, you're wrong ... regards, john