Use 1-based row and column values for position values - close #30
This commit is contained in:
1 parent
98e10d3d14
commit
1d468b6d3c
14 files changed
+303
-299
No files matched your search
@@ -12,7 +12,7 @@ unittest
|
||||
p_context_t context;
|
||||
p_context_init(&context, input);
|
||||
assert(p_parse(&context) == P_UNEXPECTED_TOKEN);
|
||||
assert(p_position(&context) == p_position_t(0, 1));
|
||||
assert(p_position(&context) == p_position_t(1, 2));
|
||||
assert(context.token == TOKEN___EOF);
|
||||
|
||||
input = "a b";
|
||||
|
||||
Reference in new issue
Block a user