diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2025-06-22 14:30:30 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-06-22 14:30:30 +0530 |
| commit | 7e4a3ce413eb967d440de3c417f10f8833f1e064 (patch) | |
| tree | 4b45439238f1c1b796e21e354c2444b84a5caee9 /src/engine.c | |
| parent | 18d0d7f3f62216898c76a7404f16743f4086726d (diff) | |
(lexer): incorrect for loop condition leads to unknown directives
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( |
