
9 Mar
2011
9 Mar
'11
8:44 a.m.
Am 08.03.2011 13:50, schrieb Christian Maeder:
Am 08.03.2011 13:35, schrieb Hauschild, Klaus (EXT):
Hi Christian,
Thank you for your help. Now the current version of Parse.hs (http://code.google.com/p/hgmltracer/source/browse/trunk/hGmlTracer/src/Gml/P...) works well for the test file fact.gml.
spaces char end
The idea is to call spaces _after_ every token.
In other words "spaces" before "char end" is not needed.
So the keyword parser should be extended by ">> spaces" and also the number, char, string, binder and identifier parsers.
This is not necessary since you skip spaces after parseGml'. "skip (A <|> B)" is better than "skip A <|> skip B". C.