home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!news.univie.ac.at!vm.univie.ac.at!A6261GAQ
- From: A6261GAQ@vm.univie.ac.at (HAEFELE GEORG)
- Subject: lex - problems with floats ?
- Message-ID: <1992Nov19.184142.7413@newssrv.edvz.univie.ac.at>
- Sender: news@newssrv.edvz.univie.ac.at (News System - Vienna University)
- Nntp-Posting-Host: helios.edvz.univie.ac.at
- Organization: University of Vienna
- Date: Thu, 19 Nov 1992 18:38:23 GMT
- Lines: 13
-
- I compiled some programs (eg. netcdf, udunits from unidata.ucar.edu)
- which read from an ascii file using the lex utility (AIX3.2).
- Now if the ascii file contains floats or doubles they will be truncated
- (e.g. 0.3432 will get 0,3 or in the worst case 0).
- Using flex returns the correct values, but some programs depend on
- linecount (yylineno) which is not part of flex (?).
- Can anybody give me an advise how to solve this problem.
-
- Thanks in advance
-
- Haefele Georg
- Department of Geography
- University of Vienna
-