Skip to content

Commit

Permalink
Merge pull request #70 from hostilefork/paren-new-line
Browse files Browse the repository at this point in the history
Allow NEW-LINE and NEW-LINE? to accept PAREN! series
  • Loading branch information
carls committed Feb 26, 2013
2 parents 6a79a7b + 631e698 commit fc51038
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/boot/natives.r
Expand Up @@ -622,17 +622,17 @@ form: native [
]

new-line: native [
{Sets or clears the new-line marker within a block.}
block [block!] {Position in block to change marker (modified)}
{Sets or clears the new-line marker within a block or paren.}
position [block! paren!] {Position to change marker (modified)}
value {Set TRUE for newline}
/all {Set/clear marker to end of block}
/skip {Set/clear marker periodically to the end of the block}
/all {Set/clear marker to end of series}
/skip {Set/clear marker periodically to the end of the series}
size [integer!]
]

new-line?: native [
{Returns the state of the new-line marker within a block.}
block [block!] {Position in block to check marker}
{Returns the state of the new-line marker within a block or paren.}
position [block! paren!] {Position to check marker}
]

to-local-file: native [
Expand Down

0 comments on commit fc51038

Please sign in to comment.