[ nasm-Feature Requests-2876926 ] Extend local label mechanism

View: New views
1 Messages — Rating Filter:   Alert me  

[ nasm-Feature Requests-2876926 ] Extend local label mechanism

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Feature Requests item #2876926, was opened at 2009-10-12 01:20
Message generated for change (Comment added) made by hpa
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=356208&aid=2876926&group_id=6208

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Extend local label mechanism

Initial Comment:
I've always liked the dotted local label mechanism of NASM, such that

label:
.foo:

becomes a globally accessible symbol "label.foo" but is locally accessible as ".foo".

What I would like even better is a cumulative mechanism, such that

label:
.foo:
..bar:

is globally accessible as "label.foo.bar" and locally as ".foo.bar" and even more locally as ".bar".

Of course some special symbols as "..start" should be reserved identifiers but I consider that only a small issue. How do the developers think about this?

----------------------------------------------------------------------

>Comment By: H. Peter Anvin (hpa)
Date: 2009-10-12 09:37

Message:
It seems like a reasonable idea to me (although the issue with double-dot
as a system prefix will require careful handling.)

However, this is probably not something that is going to get implemented
unless patches are contributed.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=356208&aid=2876926&group_id=6208

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nasm-bugs mailing list
Nasm-bugs@...
https://lists.sourceforge.net/lists/listinfo/nasm-bugs