aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2024-09-17 10:37:23 +0200
committerHimbeer <himbeer@disroot.org>2024-09-17 18:01:09 +0200
commit7eb80b416dd7261fb50334a53d0ad48afcd8f04f (patch)
treee81b919bfc81f0fd6fea1d5803bfcdda86ed9bf6 /src/util.c
parentfd90d274ffc332eef43ce80b24acc89c1419b6cb (diff)
Add token kind matching lexer function
This function reads the next token, compares its kind to a parameter and returns a boolean indicating whether it matched. If it did not match, the token is pushed back into the lexer for later reuse.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions