Fix parser for :def REPL command
Merge pull request #1363 from bmsherman/parseDef

Fix parser for :def REPL command