Remove USE-IF: again
parent
0455603cbd
commit
2295594526
|
@ -363,12 +363,6 @@ HELP: USE:
|
|||
{ $description "Adds a new vocabulary at the front of the search path. Subsequent word lookups by the parser will search this vocabulary first." }
|
||||
{ $errors "Throws an error if the vocabulary does not exist." } ;
|
||||
|
||||
HELP: USE-IF:
|
||||
{ $syntax "USE-IF: word vocabulary" }
|
||||
{ $values { "word" "a word with stack effect " { $snippet "( -- ? )" } } { "vocabulary" "a vocabulary name" } }
|
||||
{ $description "Adds " { $snippet "vocabulary" } " at the front of the search path if " { $snippet "word" } " evaluates to a true value." }
|
||||
{ $errors "Throws an error if the vocabulary does not exist." } ;
|
||||
|
||||
HELP: USING:
|
||||
{ $syntax "USING: vocabularies... ;" }
|
||||
{ $values { "vocabularies" "a list of vocabulary names" } }
|
||||
|
|
|
@ -46,7 +46,6 @@ IN: bootstrap.syntax
|
|||
] define-syntax
|
||||
|
||||
"USE:" [ scan use+ ] define-syntax
|
||||
"USE-IF:" [ scan-word execute scan swap [ use+ ] [ drop ] if ] define-syntax
|
||||
|
||||
"USING:" [ ";" parse-tokens add-use ] define-syntax
|
||||
|
||||
|
|
|
@ -3,9 +3,8 @@
|
|||
|
||||
! This file is based on the gl.h that comes with xorg-x11 6.8.2
|
||||
|
||||
USING: alien alien.syntax kernel sequences system words ;
|
||||
USE-IF: windows? opengl.gl.windows
|
||||
USE-IF: unix? opengl.gl.unix
|
||||
USING: alien alien.syntax kernel parser sequences system words ;
|
||||
<< windows? "opengl.gl.windows" "opengl.gl.unix" ? use+ >>
|
||||
|
||||
IN: opengl.gl
|
||||
|
||||
|
|
Loading…
Reference in New Issue