[cedet-semantic] semantic-analyze-current-context search failure
                
                Brought to you by:
                
                    zappo
                    
                
            
            
        
        
        
    | 
      
      
      From: Nikolaj S. <n_s...@we...> - 2007-06-17 15:56:39
      
     | 
| Hello, I've tried to use `semantic-analyze-current-context', but I kept getting strings instead of tags in many cases. I believe the reason for this is in `semantic-analyze-find-tag', which searches the current scope _by name_. This however returned the constructor instead of a class name in my case (which was discarded later), thus the database was never searched. There are two ways to fix this: 1) Search the scope using `semantic-find-tags-by-name-and-class' (which doesn't exist yet) instead of `semantic-find-tags-by-name'. 2) Always search both scope and database and concat the result. I've attached #2 as a patch to illustrate. #1 would be more efficient, though. regards, Nikolaj Schumacher |