Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
parser: early ret propagation on elif fix
Browse files Browse the repository at this point in the history
  • Loading branch information
l1mey112 committed Nov 11, 2022
1 parent 82d9429 commit d602d32
Show file tree
Hide file tree
Showing 3 changed files with 2,039 additions and 2,036 deletions.
18 changes: 1 addition & 17 deletions add.stas
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
include 'std.stas'

fn main {
18446744073709551615 drop

; str r8 strn r8
;
; over over > if {
; drop drop drop true ret
; } elif over over < {
; drop drop break
; } else {
; drop drop
; }

; str r8 strn r8 > if {
; drop true ret
; } elif str r8 strn r8 < {
; break
; }

}
Loading

0 comments on commit d602d32

Please sign in to comment.