diff options
author | Vincent Ambo <mail@tazj.in> | 2021-03-05T19·43+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-03-06T11·52+0000 |
commit | b7b94335cc3b2d5650a385e1f4a439a7ef6d30ff (patch) | |
tree | 5c068e90cd996cfd731f7ef215981b619f20f563 /users/tazjin/rlox/src/main.rs | |
parent | 822e5ae57f8253e83d40b6a8d686d774b1500a3f (diff) |
refactor(tazjin/rlox): Refactor Compiler::consume into a macro r/2272
Making this function a macro instead makes it possible to match arbitrary token kinds, even the ones that carry data, without changing the syntax too much. Change-Id: I5cda9e36d6833bd9c259f7d4d8340db6e783b4e8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2593 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/rlox/src/main.rs')
0 files changed, 0 insertions, 0 deletions