X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fcpp.h;h=9d98abddbfe9ce6e5fcb29470da2abcaef3c945c;hp=57e9eb5666ab74e6626ed83ae72dd001ff12bd09;hb=93d6b7f962a82b725d1918684297d68221b0b733;hpb=c57af11984f284e7e9de5bde5c189c416004638c diff --git a/src/cpp.h b/src/cpp.h index 57e9eb5..9d98abd 100644 --- a/src/cpp.h +++ b/src/cpp.h @@ -70,6 +70,8 @@ bool psi_cpp_undef(struct psi_cpp *cpp, struct psi_token *tok); bool psi_cpp_has_include(struct psi_cpp *cpp, const struct psi_token *file, unsigned flags, char *path); bool psi_cpp_include(struct psi_cpp *cpp, const struct psi_token *file, unsigned flags); +bool psi_cpp_pragma(struct psi_cpp *cpp, struct psi_cpp_macro_decl *decl); + void psi_cpp_tokiter_reset(struct psi_cpp *cpp); bool psi_cpp_tokiter_seek(struct psi_cpp *cpp, size_t index); #if PSI_CPP_DEBUG > 1