Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tweaked Parse to make error handling more flexible and corrected an e…

…rror in one of the comments.
  • Loading branch information...
commit 2e678e183728b2efcfbd89a511da87e16b5918c9 1 parent ad418f0
@JohnEarnest authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Parse.fs
View
4 lib/Parse.fs
@@ -42,7 +42,7 @@
then
;
-: fail ( string -- )
+:vector fail ( string -- )
type
" (line " type line @ .num
", char " type char @ .num
@@ -198,7 +198,7 @@
:array pad pad-size 0
-: accept> ( pred -- )
+: accept> ( pred -- string )
>r pad pad-size r> input> trim pad
;
Please sign in to comment.
Something went wrong with that request. Please try again.