Skip to content

Commit 92cf366

Browse files
committed
Slight change to debugging output layout.
1 parent cc9f379 commit 92cf366

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

XS.xs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,14 @@ Node* JsTokenizeString(JsDoc* doc, const char* string) {
474474
{
475475
int idx;
476476
printf("----------------------------------------------------------------\n");
477-
printf("%s: %s\n", strNodeTypes[node->type], node->contents);
478-
printf("next: '");
477+
printf("%s: [%s]\n", strNodeTypes[node->type], node->contents);
478+
printf("next: [");
479479
for (idx=0; idx<=10; idx++) {
480480
if ((doc->offset+idx) >= doc->length) break;
481481
if (!doc->buffer[doc->offset+idx]) break;
482482
printf("%c", doc->buffer[doc->offset+idx]);
483483
}
484-
printf("'\n");
484+
printf("]\n");
485485
}
486486
#endif
487487
}

0 commit comments

Comments
 (0)