Remove Print<x> functions. We can printf, baby.
This commit is contained in:
parent
52134784a4
commit
263e9d443a
|
@ -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
6
tests/printf
Normal file
|
@ -0,0 +1,6 @@
|
|||
int :: printf(char* format);
|
||||
|
||||
int :: main () {
|
||||
printf("%s\r\n", "hi there");
|
||||
return (0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user