Update LinkGrammar.cpp