1 /* this is the WIP test for the parser...
2 * constantly adding stuff here to see if things break
4 void(string) print = #1;
5 void(string,string) print2 = #1;
6 void(string,string,string) print3 = #1;
7 string(float) ftos = #2;
9 void(entity) kill = #4;
11 float multi, decla, ration;
13 .void(string x) printit;
15 float(vector different_name, vector b) dot;
17 float(vector a, vector b) dot = {
21 void(string x) myprintit = {
22 print3("-> ", x, "\n");
25 void(vector par) vecpar = {
26 // vector-parameters need _x, _y, _z as well
27 print3("par_y should be 5... = ", ftos(par_y), "\n");
32 print3("should be 1: ", ftos(dot('1 1 0', '1 0 0')), "\n");
35 pawn.printit = myprintit;
36 pawn.printit("Hello");