aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-02-02 03:09:38 -0500
committerMustafa Quraish <[email protected]>2022-02-02 03:09:38 -0500
commit733cf587ffc21b2fbee7df7a8a42a1bc3c9a01e8 (patch)
tree68c89184499cf04b9970624108c1212745672666 /src/ast.c
parentAdd support for pointers! (tests missing) (diff)
downloadcup-733cf587ffc21b2fbee7df7a8a42a1bc3c9a01e8.tar.xz
cup-733cf587ffc21b2fbee7df7a8a42a1bc3c9a01e8.zip
Use `type*` instead of `type&` to denote a pointer type (for now)
While I prefer the latter, the lexer/parser cannot correctly parse `type&&` since it thinks `&&` is `TOKEN_AND`. Perhaps how these cases are handled can be changed in the future.
Diffstat (limited to 'src/ast.c')
0 files changed, 0 insertions, 0 deletions