1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#define ONEOPT 1 #define STAROPT 2 #define PNTOPT 3 #define ONLYPNT 4 #define STARPNT 5 #define NEWTHEOREM 6 #define NEWCOMMAND 7 struct command { char *name; char type; }; extern struct command comtab[]; extern int comtabsize;