-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
questionFurther information is requestedFurther information is requested
Description
The function digImplHoles in Server.Handler.GCL.Refine parses implText twice.
-
The purpose of the first parse is to, in case of parse errors, generate error messages with the correct column/line number. If the parse succeeds, the parse tree is simply thrown away.
-
digImplHolesthen parsesimplTextagain, with position1 1 0, to "dig holes".
We can discuss whether it is a waste parsing twice, or it is actually an legitimate approach that works well in practice.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested