diff --git a/src/classes/IO.pir b/src/classes/IO.pir index d0120479da7..0182f8992f5 100644 --- a/src/classes/IO.pir +++ b/src/classes/IO.pir @@ -41,6 +41,23 @@ Reads a line from the file handle. .end +=back + +=head2 Functions + +=over 4 + +=item C + +Gets the iterator for the IO object. + +=cut + +.namespace [] +.sub 'prefix:=' :multi('IO') + 'die'("prefix:<=> has been superseeded by $handle.lines and $handle.get") +.end + =back =head1 IOIterator diff --git a/src/parser/grammar-oper.pg b/src/parser/grammar-oper.pg index 33cdbb93f39..4866f845aad 100644 --- a/src/parser/grammar-oper.pg +++ b/src/parser/grammar-oper.pg @@ -20,6 +20,7 @@ proto prefix: is equiv(prefix:<+>) { ... } proto prefix:<+^> is equiv(prefix:<+>) is pirop('bnot') { ... } +proto prefix:<=> is equiv(prefix:<+>) { ... } proto prefix:<^> is equiv(prefix:<+>) { ... } proto prefix:<\> is equiv(prefix:<+>) { ... } proto prefix:<|> is equiv(prefix:<+>) { ... }