bug in the class browser

Jonas Nordin jonas.nordin at cenacle.se
Wed Jun 16 12:15:16 BST 1999


> is already a special case in the parser code for one such name. Although my
> grammar/parser knowledge is a bit rusty I am sure that parsing:
> 
> class +<identifier>  ( : <base_class_specs> {  | {  )
> 
> doesn't break LR(1) and that yacc can be made to only retain the last
> identifier as the class name (apologies for the BNF, thats a bit rusty too).
> 
> This would at least make two people happy, the original poster and me :)

The thing is that I don't use yacc. This is not needed and will only complicate
thing since I need a more or less complete c++-grammar for that.

I'm just using a tokenizer and a stack of lexem right now. 

/J



More information about the KDevelop mailing list