it is sad that there isn't any good yacc mode for emacs, so I have to move gocode out of yacc file and edit the file using text-mode, :(