This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/6847] $$parms/$$vars should be $$*


------- Additional Comments From mhiramat at redhat dot com  2008-08-17 20:06 -------
(In reply to comment #1)
> The "$" *suffix* suggested in bug #3672 was done
> specifically to avoid namespace collisions of the
> kind you are looking for here.

I think this also could simplify the syntax including bug #3672.

- one $ (ex. $var, $return): returns the value of var or return value.
- two $ (ex. $$var, $$return, $$*): returns the values with variable names.
- more than two $ (ex. $$$var, $$$*): returns the values ($ means the depth of
nesting) with variable names.

And the simple syntax also simplifies parser :-) (don't requires 'suffix' parsing)

Thank you,

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6847

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]