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/3671] Support array size declarations


------- 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.


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