diff options
| author | Nakidai <nakidai@disroot.org> | 2025-03-23 20:56:47 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-03-23 20:56:47 +0300 |
| commit | 159666bae6cc185a5abac154b85c49406f32f30c (patch) | |
| tree | a5f424eb11e83dd1831b824229e359583bcc9f5d /src/readchar.c | |
| parent | c74aea420c662039072f606b2d5ef1c73426e481 (diff) | |
| download | 3cl-159666bae6cc185a5abac154b85c49406f32f30c.tar.gz 3cl-159666bae6cc185a5abac154b85c49406f32f30c.zip | |
Last time I was here 8 months ago, idk what is this
Diffstat (limited to 'src/readchar.c')
| -rw-r--r-- | src/readchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readchar.c b/src/readchar.c index 51e1784..428b8fd 100644 --- a/src/readchar.c +++ b/src/readchar.c @@ -17,7 +17,7 @@ char ccl_readchar(struct CCL *ccl, struct CCLFrame *frame, enum CCLRCFlags flags bool iscomment; char chr; - for (;(chr = ccl->code[frame->ep]) != '\0'; ++frame->ep) + while ((chr = ccl->code[frame->ep++]) != '\0') { if (iscomment && chr == '\n') iscomment = false; |