Code:
enum {Ident_max = 16};
typedef char Ident[Ident_max+1];
typedef enum {
null, times, plus, rparen, lparen, number, writesym, eofsym
} Symbol;
class Scanner {
public:
bool init(const char fn[]);
Symbol getsym();
int getval() { return val; }
const char *getid() { return id; }..... ETC FULL CODE IN TEXT FILE
Comment