#include <stdio.h>
#include <wchar.h>
+#include <stdarg.h>
#include "print_helper.h"
#include "global_vars.h"
}
fflush(out_file);
}
+
+void wprint_ctoken(FILE* out_file) {
+ if (tokenType == MOT || tokenType == MOTCLE) {
+ fwprintf(out_file, L"%20s: %ls\n", tokenTypestr[tokenType], tokenValue);
+ } else {
+ fwprintf(out_file, L"%20s\n", tokenTypestr[tokenType]);
+ }
+ fflush(out_file);
+}