Aria

A low-level systems programming language
git clone git://git.m21c.me/Aria.git
Log | Files | Refs | LICENSE

commit fdebc8899fa35fe3c051d4d6a588f3b8f7b7025d
parent 9ef7e9b804bfb233b8613f26e710a7f034cb31c5
Author: m21c <ho*******@gmail.com>
Date:   Fri, 27 Jun 2025 21:22:26 +0200

fix init source

Diffstat:
Mcompiler.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/compiler.c b/compiler.c @@ -7593,8 +7593,12 @@ initsource(Source *source, const char *filename, FILE *file) source->filein = file; source->currloc.filename = filename; source->tok.loc.filename = filename; + source->tabwidth = 8; + source->haspendingenv = false; source->handlereplprompt = false; + source->pendingcount = 0; + source->implicitenv = envbuf + envtop++; gettok(source);