Menu

#63 Forward reference for .ifndef

open
nobody
None
5
2008-05-23
2008-05-23
Anonymous
No

Since version 1.2.0 (according to changelog) forward references are not allowed anymore for .ifndef

But this is a bug, since it should be possible to define sth. only if it is not yet defined. This is a common programming technique!

Example:
It must be possible to define ABC only if it is not yet defined, like

.ifndef ABC
.equ ABC = 5
.endif

Discussion

  • Viktor Pracht

    Viktor Pracht - 2011-02-23

    Sorry, but the avra README file itself has an example in section 5.1.1 (Directive .define), and it does not work anymore:

    .ifndef network
    .define network 0
    .endif

    This item cannot be closed (unless you wanted to reopen the other one).

     
  • Viktor Pracht

    Viktor Pracht - 2011-02-23

    Oops, sorry. I didn't notice that the fix for the other bug is not included in 1.3.0.

    Are there plans for a new release, which would include that fix?

     

Log in to post a comment.

MongoDB Logo MongoDB