Re: Statement-level assembler
Re: Statement-level assembler
- Subject: Re: Statement-level assembler
- From: Stan Shebs <email@hidden>
- Date: Mon, 09 Feb 2004 10:57:01 -0800
Robert Purves wrote:
Statement-level assembler blocks show a curious anomaly in that a
newline is apparently required after the opening brace (in Xcode 1.1).
If it is omitted, a notably unhelpful error message results. Does this
behaviour have a rational explanation, or is it a bug?
asm { mr r3, sp } // error: parse error before "r3"
asm {
mr r3, sp } // OK
Um, a bug I think, at least if it works in CW. Asm statements require
special newline
handling (because newlines are required in asm, but not in C), I could
easily have
gotten this wrong.
Stan
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.