Make `parsedata` immutable

Modify the declaration of `parsedata` to be littered with the `const` type qualifier to prevent careless modification.

`parsedata` is simply a lookup table and does not need to be mutable.

The structure `parsedata` is specific to the table, by removing the `typdef` and moving the name to the structure tag the global scope is emptied of necessary names.