lout-users
[Top][All Lists]
Advanced

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

Using macros in definitions


From: Ludovic Courtès
Subject: Using macros in definitions
Date: Mon, 02 Apr 2007 21:49:54 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

Would it be possible to allow macros to be used within definitions?

For instance, the following code:

  macro @Prec { 33 }
  def @Op precedence @Prec left l right r
  {
    l r
  }

yields these messages:

  2,20: precedence is too low (10 substituted)
  2,20: fatal error: opening left brace or @Begin of @Op expected

Thanks,
Ludovic.



reply via email to

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