Liste des Groupes | Revenir à cl c |
Bart <bc@freeuk.com> writes:
By itself? Sure. Within a large very busy source file, it'll get lost in the noise. Where is the start of each function? I don't want to analyse each line!Perhaps you can post a trivial bit of C code which reads in C sourceNo. It's straightforward for an experienced C programmer looking at
code and shows the first lines of all the function definitions, not
prototypes nor function pointers. It can assume that each starts at
the beginning of a line.
code that's not deliberately obscure. A program that can do the same
thing reliably would have to include a C preprocessor and parser.
It's obvious that :
int foo(int);
is intended to be a function declaration,
I acknowledged elsewhere that I forgot about declarations of staticI'm working with a single-file Lua implementation. It has 880 function definitions. My SQL test file has 2100 functions.
functions. (Hundreds of function definitions in a single source file
seem unlikely.)
Les messages affichés proviennent d'usenet.