Fix syntax name validation (fix #110)