Fixed buggy assignment generation
Local variable names must start with a '%'