harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 683528ff71e27bd2b643c0ad3b92322034d79bbd
parent f590e0b1291a705ba99e451f66cdabf101987f02
Author: Bor Grošelj Simić <bor.groseljsimic@telemach.net>
Date:   Mon, 28 Mar 2022 22:52:48 +0200

update syntax in comments

Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>

Diffstat:
Msrc/gen.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/gen.c b/src/gen.c @@ -2181,9 +2181,9 @@ gen_nested_match_tests(struct gen_context *ctx, struct gen_value object, // // let x: bar = 10i; // match (x) { - // z: size => ... - // i: int => ... - // void => ... + // case let z: size => ... + // case let i: int => ... + // case void => ... // }; // // In the first case, we can simply test the object's tag. In the second @@ -2237,8 +2237,8 @@ gen_subset_match_tests(struct gen_context *ctx, // // let x: foo = 10i; // match (x) { - // n: (size | int) => ... - // void => ... + // case let n: (size | int) => ... + // case void => ... // }; // // In this situation, we test the match object's tag against each type