Re: Bug in grammar for paths

On 29/04/17 17:44, Jirka Kosek wrote:
> coordinate_pair::= coordinate
>                    (comma_wsp unsigned-coordinate | signed-coordinate)


I think you meant:

  coordinate_pair::= coordinate
                     (comma_wsp coordinate | signed-coordinate)


Although what is really the problem is that people are writing parsers 
which are putting the sign in the syntax rule, when it should be in the 
lexical rule.

Received on Saturday, 29 April 2017 16:58:39 UTC