Bernhard Roider wrote:

> Hello!
> 
> Here i again attached the patch for lyxlex i sent nearly two weeks ago
> (and one for a superfluous space in the code). In my opinion you should
> really consider to put it in because with the current version of lyxlex it
> is _impossible_ to check whether reading an integer, float, ... succeeded
> or not. The current solution to check for is.bad() in some cases and in
> other cases use is.good() does not give the desired information. Moreover
> the result of is.bad() depends on the stl implementation and behaves
> different for linux and windows.

Please check the documentation in src/lyxlex.h (especially the FIXMEs) and
update it where needed. Without proper documentation your changes might fix
the current problems, but similar ones will be reintroduced because people
do not know how to use LyXLex.


Georg

Reply via email to