mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-05 23:28:45 +00:00
Report and skip non-ASCII characters.
This commit is contained in:
@@ -455,9 +455,9 @@ int main(void)
|
||||
{"a:'''\nmulti-line text literal", {3}},
|
||||
{"/* foo", {1}},
|
||||
{"label:@tag {1, 2, 3} /* /* unterminated comment */", {8, 22}},
|
||||
{"#include <stdio.h>", {2}},
|
||||
{"@\"tag\" node", {2}},
|
||||
{"{a,,#b}", {4, 5}},
|
||||
{"{a,,#b,}", {4, 5}},
|
||||
{"foo""\x80""bar", {4}},
|
||||
};
|
||||
|
||||
int max_error_count = MD_ArrayCount(tests[0].columns);
|
||||
@@ -478,6 +478,11 @@ int main(void)
|
||||
}
|
||||
e = e->next;
|
||||
}
|
||||
|
||||
if(e && e->next)
|
||||
{
|
||||
columns_match = 0;
|
||||
}
|
||||
}
|
||||
TestResult(columns_match);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user