[Prev][Next][Index]
parser does not grok an empty class
- To: sage-bugs@cica.cica.indiana.edu
- Subject: parser does not grok an empty class
- Date: Fri, 02 Dec 1994 14:59:53 -0800
- From: Lars Thomas Hansen <lth@cs.uoregon.edu>
Hardly a major error, but: given
class X { };
the parser creates this:
decl_specs(bits set)=
2-B 169 1-B -- ---- 3-S ---- ---- ---- -- -- ---- -- 1 0 1-F 3-B CLASS_DECL
3-B --
--
decl_specs(bits set)=
3-B 104 2-B -- ---- ---- ---- ---- ---- -- -- ---- -- 1 0 1-F 4-B CONTROL_END
--
--
decl_specs(bits set)=
and it seems to me that the CONTROL_END is not appropriate here, since
non-empty class definitions do not have one.
--lars