lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`Parsing collision'


From: Ludovic Courtès
Subject: `Parsing collision'
Date: Mon, 3 Jun 2002 15:56:09 +0200
User-agent: Mutt/1.2.5.1i

Hi,

I have recently experienced something strange with function/argument parsing.
With the following definition:

  # Parenthesis (to avoid "(" at the beginning of a line)
  def "(" left l right r { { l }" ("{ r } }

having a line like

  text @NumberOf { tag } (opening bracket)

results in an error like the following:

  42,10: unresolved cross reference @NumberMarker&&tag (opening

... which means that Basser Lout considers the string "tag (opening" as being
the argument of function @NumberOf, whereas I would expect the result of
@NumberOf { tag } being the left argument of the "(" function.

Could anyone tell me whether I got it right or not? What's the expected
behaviour?

Thanks,
Ludovic.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]