[pygccxml-commit] source/pygccxml/declarations pattern_parser.py,1.3,1.4
Brought to you by:
mbaas,
roman_yakovenko
From: Roman <rom...@us...> - 2006-03-30 08:09:47
|
Update of /cvsroot/pygccxml/source/pygccxml/declarations In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14922/pygccxml/declarations Modified Files: pattern_parser.py Log Message: fixing 2 bugs: templates parser now correctly reports about is_instantiation improving default call policies for operator[] Index: pattern_parser.py =================================================================== RCS file: /cvsroot/pygccxml/source/pygccxml/declarations/pattern_parser.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pattern_parser.py 18 Dec 2005 12:11:13 -0000 1.3 --- pattern_parser.py 30 Mar 2006 08:09:41 -0000 1.4 *************** *** 23,28 **** self.__escape = '\\' ! def has_pattern( self, decl_string ): ! return -1 != decl_string.find( self.__begin ) def name( self, decl_string ): --- 23,29 ---- self.__escape = '\\' ! def has_pattern( self, decl_string ): ! last_part = decl_string.split( '::' )[-1] ! return -1 != last_part.find( self.__end ) def name( self, decl_string ): |