The attached patch refactors the asm parsers' parsing of strings into a ReadString method and parsing of LocalVarName or GlobalVarName into ReadName(). No functionality change intended.<div><br></div><div>I'm asking for review because the parser doesn't already have helper functions like these, and I wanted to check whether the error-reporting style (inconsistent between the two) is okay to commit or if anyone has suggestions.</div>

<div><br></div><div>Nick</div>