diff options
Diffstat (limited to 'src/engine.c')
-rw-r--r-- | src/engine.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine.c b/src/engine.c index 3d46373..e5ee5a3 100644 --- a/src/engine.c +++ b/src/engine.c @@ -25,6 +25,14 @@ ingest(char **buffer) if (match == NULL) break; +#ifdef DEBUG + printf("Match: %.*s LENGTH(%d) OFFSET(%d)\n", + match->length, + *buffer + match->offset, + match->length, + match->offset); +#endif + directive_t *directive = find_directive(*buffer, match); if (directive == NULL) { printf( |