[Haskell-cafe] Alex and Flex

Manlio Perillo manlio_perillo at libero.it
Fri Oct 3 14:03:18 EDT 2008


Manlio Perillo ha scritto:
> [...]
> Another problem.
> 
> In this rule:
> @comment        = \/\*[^\*]*\*+([^\/\*][^\*]*\*+)*\/
> 
> [^\*] means "all characters except '*'", but Alex seems to not include 
> the new line character.
> 

Again sorry.
The problem was not here.
There was a missing rule for '.', to scan every characters.



Regards   Manlio Perillo


More information about the Haskell-Cafe mailing list