[Prev][Next][Index]

parser does not grok an empty class




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