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;
14 .void(string x) printit;
16 float(vector different_name, vector b) dot;
18 float(vector a, vector b) dot = {
22 void(string x) myprintit = {
23 print3("-> ", x, "\n");
26 void(vector par) vecpar = {
27 // vector-parameters need _x, _y, _z as well
28 print3("par_y should be 5... = ", ftos(par_y), "\n");
34 print3("should be 1: ", ftos(dot('1 1 0', '1 0 0')), "\n");
39 pawn.printit = myprintit;
40 pawn.printit("Hello");