Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Nov 28, 2022
2 parents 3997153 + 47dce90 commit f13d802
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ jobs:
- run: cp -r target/eo-after/. gh-pages
- uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
branch: gh-pages
folder: gh-pages
19 changes: 19 additions & 0 deletions src/test/eo/org/eolang/dejump/catch_error_in_goto.eo
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[] > catch_error_in_goto
try > @
[]
goto > @
[g]
if. > @
TRUE
g.forward
div.
42
0
"never happened"
[e]
seq > @
QQ.io.stdout e
eq.
e
"The 1th argument of 'int.div' is invalid: division by zero is infinity"
nop
7 changes: 7 additions & 0 deletions src/test/eo/org/eolang/dejump/goto_inside_nop.eo
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[] > goto_inside_nop
nop > @
goto
[g]
seq > @
QQ.io.stdout "Never happened\n"
g.forward TRUE
12 changes: 12 additions & 0 deletions src/test/eo/org/eolang/dejump/goto_inside_try.eo
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[] > goto_inside_try
try > @
[]
goto > @
[g]
if. > @
TRUE
g.forward TRUE
"never happened"
[e]
e > @
nop

0 comments on commit f13d802

Please sign in to comment.