Merge branch 'bugfix' of git://github.com/khinsen/hy into pr-93

This commit is contained in:
Paul R. Tagliamonte 2013-04-09 19:53:36 -04:00
commit 2af78564d2

7
bin/hy
View File

@ -48,7 +48,12 @@ class HyREPL(code.InteractiveConsole):
_machine = Machine(Idle, 1, 0)
return True
tokens = process(_machine.nodes)
try:
tokens = process(_machine.nodes)
except Exception:
_machine = Machine(Idle, 1, 0)
self.showtraceback()
return False
_machine = Machine(Idle, 1, 0)
try: