[Bug 64783] c++ parser breaks at "restrict" type qualifier

Roberto Raggi roberto at kdevelop.org
Tue Nov 4 16:12:05 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=64783     
roberto at kdevelop.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From roberto at kdevelop.org  2003-11-04 16:11 -------
Subject: kdevelop/lib/cppparser

CVS commit by raggi: 

gnu extension: ignore 'restrict' qualifier

CCMAIL: 64783-done at bugs.kde.org


  M +1 -0      driver.cpp   1.12


--- kdevelop/lib/cppparser/driver.cpp  #1.11:1.12
@@ -311,4 +311,5 @@ void Driver::setupLexer( Lexer * lexer )
     lexer->addSkipWord( "__glibcpp_class4_requires", SkipWordAndArguments );
     lexer->addSkipWord( "__glibcpp_function_requires", SkipWordAndArguments );
+    lexer->addSkipWord( "restrict" );
 
     lexer->addSkipWord( "__BEGIN_NAMESPACE_STD" );




More information about the KDevelop-devel mailing list