mruby/mruby — pull request #368 by bovi (2012-07-14 12:59:18+00:00)
Title: Skip "Syntax OK" if syntax isn't ok

This patch includes an additional check if there was an exception raised during the Syntax check. If yes then the "Syntax OK" print out is skipped.

Before
```
$ ./bin/mruby -c test.rb
-c:2:0: syntax error, unexpected $end, expecting '}'
Syntax OK
```

After
```
$ ./bin/mruby -c test.rb
-c:2:0: syntax error, unexpected $end, expecting '}'
```

Content
```
$ cat test.rb
{
```