parrotcode: checks for rules related to guards in C header files | |
Contents | Tests |
t/codingstd/c_header_guards.t - checks for rules related to guards in C header files
# test all files
% prove t/codingstd/c_header_guards.t
# test specific files
% perl t/codingstd/c_header_guards.t include/parrot/bar.h
Checks that all C language header files have an #ifndef PARROT_WHATEVER_H_GUARD definition, and an #endif /* PARROT_WHATEVER_H_GUARD */ at the end, as specified in PDD07.
Mark Glines <mark at glines dot org>
|