16 lines
318 B
C
16 lines
318 B
C
#include "testparser.h"
|
|
#include <assert.h>
|
|
#include <string.h>
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
char const * input = "identifier_123";
|
|
p_context_t context;
|
|
p_context_init(&context, (uint8_t const *)input, strlen(input));
|
|
assert(p_parse(&context) == P_SUCCESS);
|
|
printf("pass1\n");
|
|
|
|
return 0;
|
|
}
|