another tweak; this one correctly handles parameters where data type is declared with the 'enum' or 'struct' keyword