Permalink
Please sign in to comment.
Browse files
Print the source location for an unexpected return at the top level.
Factor out PrintFilenameAndLine.
- Loading branch information...
Showing
with
37 additions
and 31 deletions.
- +3 −3 core/cmd_exec.py
- +27 −28 core/ui.py
- +7 −0 gold/return-top-level.sh
| @@ -0,0 +1,7 @@ | ||
| #!/bin/bash | ||
| echo hi | ||
| return # This is like exit? | ||
| # Bash gets here. | ||
| echo should not get here |
0 comments on commit
9269eb0