diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/preprocess.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preprocess.c b/src/preprocess.c index e721207..dec55b7 100644 --- a/src/preprocess.c +++ b/src/preprocess.c @@ -31,6 +31,8 @@ void preprocess(struct ctx *ctx) } else if (cur == '#' && ctx->column == 1) { if (strncmp(ctx->raw + i + 1, "inc ", MIN(4, ctx->size - i)) == 0) { // TODO: Add include features + } else if (*(ctx->raw + i + 1) == '#') { + // Comment } else { errln(ctx, "Invalid preprocessing directive"); } |