Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Jul 13, 2024
1 parent 4f69374 commit 6fd62bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/nifc-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Expr ::= Number | CharLiteral | StringLiteral |
(le Expr Expr) |
(lt Expr Expr) |
(cast Type Expr) |
(call Expr+ ) |
(call Expr+ )
BranchValue ::= Number | CharLiteral | Symbol
BranchRange ::= BranchValue | (range BranchValue BranchValue)
Expand All @@ -135,6 +135,7 @@ Stmt ::= Expr |
(jmp Symbol) |
(tjmp Expr Symbol) | # jump if condition is true
(fjmp Expr Symbol) | # jump if condition is false
(ret Expr) # return statement
StmtList ::= (stmts Stmt*)
Expand Down
Binary file modified doc/nifc-spec.pdf
Binary file not shown.

0 comments on commit 6fd62bf

Please sign in to comment.