Menu

#554 %rep and %endrep in %if...%endif block

open
nobody
5
2011-11-05
2011-11-05
No

Hi/2.

NASM does not allow %rep and %endrep to be in %if...%endif block.

Due to this, libswscale/x86/scale.asm cannot be compiled by NASM.

Is this a design flaw or a intended restriction of NASM ?

Discussion

  • KO Myung-Hun

    KO Myung-Hun - 2011-11-05

    Testcase to show a problem

     
  • Nobody/Anonymous

    seems to be a bug

     
  • KO Myung-Hun

    KO Myung-Hun - 2011-11-19

    This is the regression introduced by the following commit.

    -----
    commit b307a4f1eb9c481732f80088ceceba6a63ccfe4d
    Author: Keith Kanios <keith@kanios.net>
    Date: Sat Nov 6 17:41:51 2010 -0500

    preproc.c: merge from preproc-rewrite branch
    pptok.dat: merge from preproc-rewrite branch
    macros.pl: merge from preproc-rewrite branch
    version: changed to 2.10rc2
    -----

     
  • Nobody/Anonymous

    sigh..., yes preprocessr code was seriously reworked since 2.09. Thanks for bisecting it!
    nb: could you please use bugzilla at bugzilla.nasm.us next time?

     
  • KO Myung-Hun

    KO Myung-Hun - 2011-11-19

    No problem.

    Should I reopen a ticket at bugzilla.nasm.us ?

     
  • Cyrill Gorcunov

    Cyrill Gorcunov - 2011-11-19

    yes please (if it's not hard for you)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.