Remove Print<x> functions. We can printf, baby.

This commit is contained in:
Curle 2021-01-18 00:26:30 +00:00
parent 52134784a4
commit 263e9d443a
Signed by: TheCurle
GPG Key ID: 5942F13718443F79
2 changed files with 7 additions and 6 deletions

View File

@ -56,7 +56,7 @@ char* TokenNames[] = {
"Logical Block Start",
"Logical Block End",
"Comma",
"Identifier",
@ -97,11 +97,6 @@ int main(int argc, char* argv[]) {
exit(1);
}
AddSymbol("PrintInteger", RET_CHAR, ST_FUNC, SC_GLOBAL, 0, 1);
AddSymbol("PrintString", RET_CHAR, ST_FUNC, SC_GLOBAL, 1, 1);
AddSymbol("PrintChar", RET_CHAR, ST_FUNC, SC_GLOBAL, 2, 1);
//AddSymbol("forgecord", PTR_CHAR, ST_VAR);
Tokenise(&CurrentToken);
AssemblerPreamble();

6
tests/printf Normal file
View File

@ -0,0 +1,6 @@
int :: printf(char* format);
int :: main () {
printf("%s\r\n", "hi there");
return (0);
}