Merge branch 'master' of git://factorcode.org/git/factor

db4
Slava Pestov 2009-04-12 16:33:18 -05:00
commit 11ef68180d
1 changed files with 3 additions and 1 deletions

View File

@ -102,8 +102,10 @@ MEMO: simple-category-table ( -- table )
{ CHAR: s dotall }
} ;
ERROR: nonexistent-option name ;
: ch>option ( ch -- singleton )
options-assoc at ;
dup options-assoc at [ ] [ nonexistent-option ] ?if ;
: option>ch ( option -- string )
options-assoc value-at ;