From: Martin DOT Stromberg AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: =?iso-8859-1?Q?flex_scanning_a_'=B0'_(degree_sign)?= Date: 8 Jul 1998 14:56:40 GMT Organization: Ericsson Erisoft AB, Sweden Message-ID: <6o01b8$fub$1@antares.lu.erisoft.se> References: <3 DOT 0 DOT 5 DOT 32 DOT 19980708114505 DOT 0093ed90 AT hal DOT nt DOT tuwien DOT ac DOT at> NNTP-Posting-Host: spica.lu.erisoft.se Lines: 17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Anton Helm (tony AT nt DOT tuwien DOT ac DOT at) wrote: : Currently I see only 2 possible solutions: : a) modify the *.c-file generated by flex : (rather tricky, and not such a good idea if someone : is going to change the *.l-file later...). : b) implement *all* possible representations in the : *.l-file. But, first this might be quite a list and : second, this might result in conflicts with some other : input tokens (which might be avoided by careful design). I'd go for a. Write a perl or sed script that changes the revelant line in the *.c-file generated by flex after flex has run. Silence, MartinS