added some temporary debugging prints
This commit is contained in:
parent
fcc41aa576
commit
5c0fb00970
2 changed files with 2 additions and 1 deletions
|
|
@ -139,6 +139,7 @@ ARC_Bool ARC_Parser_ParseTag(ARC_Parser *parser, uint32_t *lexerIndex, uint32_t
|
||||||
//if the token rule does not match the current token in the current or statement the token rule could not be found for the current or index so break
|
//if the token rule does not match the current token in the current or statement the token rule could not be found for the current or index so break
|
||||||
if(token.rule != tag->tokensOrTags[orIndex][tokenOrTagIndex]){
|
if(token.rule != tag->tokensOrTags[orIndex][tokenOrTagIndex]){
|
||||||
foundRule = ARC_False;
|
foundRule = ARC_False;
|
||||||
|
printf("%u ", token.rule);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ ARC_TEST(Parser_Init){
|
||||||
|
|
||||||
ARC_Parser_Destroy(parser);
|
ARC_Parser_Destroy(parser);
|
||||||
|
|
||||||
ARC_CHECK(1 == 1);
|
ARC_CHECK(arc_errno == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
ARC_TEST(Parser_Basic_Parse){
|
ARC_TEST(Parser_Basic_Parse){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue