extern char program[]; /* tells what program this is */\r
extern char version[]; /* tells what version this is */\r
extern char *file_str[]; /* file names being used */\r
-extern int err_found; /* flag to indicate error occured */\r
+extern int err_found; /* flag to indicate error occurred */\r
extern int action_no; /* last action function printed */\r
extern int func_action; /* should actions be turned into functions?*/\r
extern set used_chars; /* used to label trans. arcs */\r
extern int interactive; /* interactive scanner (avoid lookahead)*/\r
extern int mode_counter; /* keeps track of the number of %%name */\r
extern int dfa_basep[]; /* start of each group of dfa */\r
-extern int dfa_class_nop[];/* number of transistion arcs in */\r
+extern int dfa_class_nop[];/* number of transition arcs in */\r
/* each dfa in each mode */\r
extern int nfa_allocated;\r
extern int dfa_allocated;\r