[Bug translator/3671] Support array size declarations

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Dec 6 23:51:00 GMT 2006


------- Additional Comments From fche at redhat dot com  2006-12-06 23:44 -------
What has been holding us back is the lack of a proposed syntax.
OK, here is a simple and intuitive one:

  global array[size]

Of course, this [size] usage may look different from actual key-tuple-based
indexing, but I suspect this would be OK.

It would be easy to implement.  The vardecl class would have to get a
maxsize field.  The parser::parse_global function would have to look for
[literal_number] set the field.  Last, the translator would have to arrange
to pass the new field to mapvar::init.

-- 


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

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



More information about the Systemtap mailing list