>>> Johann "Myrkraverk" Oskarsson <myrkraverk@...> seems to think that:
>
>Hi,
>
>(For some reason I seem to by sending a lot of mail to this list ;)
>
>Anyway, I have the folling (partial) rule, and am wondering what to do
>with the number (or $3)? I find the docs a little lacking ;/
>
> | PERIOD P2ALIGN number
> (TAG $2 'myrk-asm-directive)
>
>Here the number is simply the number of the least significant zero
>bits in the address to align to.
[ ... ]
Well, is `number' useful? What would you use it for? If it has no
value when used in a browser such as speedbar or ECB, and has no value
to a tool you plan to write, then you should ignore it. After all,
the user could pretty easily jump to $2, and see number for
themselves. If it is valuable, then you can add it as an attribute
like this:
| PERIOD P2ALIGN number
(TAG $2 'myrk-asm-directive :niftynumber $3)
Eric
--
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
|