[Pyrex] Better comment lines in C source?

Edward K. Ream edreamleo at charter.net
Fri Aug 13 14:49:31 CEST 2004


Many thanks to Greg Ewing for pyrex: it's beautiful work.

C listings are commented by line number:

/* "ProjectsA:Python:Pyrex:Demos:primes.pyx":9 */

The pyrex source might be more informative:

/* while k < kmax: */

Is there a way to do this?  It should be simple for pyrex to do this: just
strip block comments out of the line first.  I don't see this in the options
or the to-do list.

Edward
--------------------------------------------------------------------
Edward K. Ream   email:  edreamleo at charter.net
Leo: Literate Editor with Outlines
Leo: http://webpages.charter.net/edreamleo/front.html
--------------------------------------------------------------------







More information about the Pyrex mailing list