> I'm building a saol parser using the saolc grammar and I have come accross a
> curious point which is that a pooduction for tablemaps is missing from the
> opvardecl definition.
Hmm, the "Opcode variable declarations" section of the spec (5.8.7.5.1
p 59) actually mentions semantics of tablemap declarations in the text,
so I'd guess this is a saolc issue -- sfront implements tablemaps in
opvardecl in its parser.y file, FYI ...
> I assume this is intentional since the lack of
> tablemaps seems to be the only thing diferentiating opvardecl from vardecl.
Note that otype replaces stype in opvardecl -- this supports xsig
declarations in opcodes (but not instrs). However, it seems pretty
easy to use otype for vardecl too, and do a syntax check for xsig
usage in instrs elsewhere, if simplifying the grammar is your goal.
--jl
This archive was generated by hypermail 2b29 : Wed May 10 2000 - 12:15:41 EDT