This style of coding produces an excessive amount of code, besides being susceptible to copy/pasta errors. Try something like:
```
static unsigned mods[] = { MODconst, MODimmutable, MODwild, MODshared };
for (size_t I = 0; I < sizeof(mods)/sizeof(mods[0]); ++I)
    if (fd->type->mod & mods[I])
        mods->push(new StringExp(Loc(), MODtoChars(mods[I]));
```
damn github capitalizes I