June 7, 2005
4:33 p.m.
Could this line in pyste.py context['Include'] = lambda header: infos.CodeInfo('#include <%s>\n' % header, 'include') possibly be changed to something like this instead to honour the existing syntax but also allow you to explicitly specify the include format? context['Include'] = infos.Include with the following addition to infos.py def Include( header ): header = header.strip() if ( header[0] == '"' or header[0] == '<' ) : CodeInfo('#include %s\n' % header, 'include') else: CodeInfo('#include <%s>\n' % header, 'include') Cheers Scott
7790
Age (days ago)
7790
Last active (days ago)
0 comments
1 participants
participants (1)
-
Scott McKay