Move source into src directory
[a56.git] / tok.awk
diff --git a/tok.awk b/tok.awk
deleted file mode 100644 (file)
index 44e02aa..0000000
--- a/tok.awk
+++ /dev/null
@@ -1,4 +0,0 @@
-BEGIN          {printf("struct {int n; char *name;} tok_tab[] = {\n");}
-/#define/      {printf("    {%d, \"%s\"},\n", $3, $2);}
-/# define/     {printf("    {%d, \"%s\"},\n", $4, $3);}
-END            {printf("};\n#define N_TOK (sizeof tok_tab / sizeof tok_tab[0])\nint n_tok = N_TOK;\n");}