diff options
Diffstat (limited to 'wrapperhelper/src/prepare.h')
| -rw-r--r-- | wrapperhelper/src/prepare.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wrapperhelper/src/prepare.h b/wrapperhelper/src/prepare.h index ccb57a5f..c8424261 100644 --- a/wrapperhelper/src/prepare.h +++ b/wrapperhelper/src/prepare.h @@ -13,6 +13,8 @@ typedef struct prepare_s prepare_t; prepare_t *prepare_new_file(FILE *f, const char *filename); // Takes ownership of f void prepare_del(prepare_t *src); preproc_token_t pre_next_token(prepare_t *src, int allow_comments); -preproc_token_t pre_next_newline_token(prepare_t *src); // In a comment ignore everything until the EOL or EOF + +void prepare_mark_nocomment(prepare_t *src); // Change the state (usually from COMMENT) to NONE +int pre_next_newline_token(prepare_t *src, string_t *buf); // In a comment append everything until the EOL or EOF to the buffer #endif // PREPARE_H |