bydgoszcz

simple, fast and efficient programming language
git clone git://git.kocotian.pl/bydgoszczscript.git
Log | Files | Refs | README | LICENSE

commit 6b1cdd0be8c47cb9983b11e2bbe132877ca917af
parent 4ea5b3b0b563595b6841eb531da45e36249aeac0
Author: kocotian <kocotian@kocotian.pl>
Date:   Thu, 27 May 2021 17:55:53 +0200

zadupie (void)

Diffstat:
Mcompile.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/compile.c b/compile.c @@ -134,7 +134,9 @@ g_type(File *f, TypeString *str) else if (!Strccmp(s, "dlugie")) islong = 1; else { /* Basic types */ - if (!Strccmp(t->c, "literki")) + if (!Strccmp(t->c, "zadupie")) + name.len = strlen(name.data = "void"); + else if (!Strccmp(t->c, "literki")) name.len = strlen(name.data = "char"); else if (!Strccmp(t->c, "cyferki")) name.len = strlen(name.data = "int");