Bug434029 syntax erlang fix

Fixing Bugs for previous commit for Bug 434029 according to Grant's feedback: https://bugs.eclipse.org/bugs/show_bug.cgi?id=434029