Author: bernhard Date: Mon Jan 26 05:02:52 2009 New Revision: 36023 Modified: trunk/languages/pipp/docs/internals.pod trunk/languages/pipp/src/common/builtins.pir
Log: [Pipp] echo doesn't return a value Modified: trunk/languages/pipp/docs/internals.pod ============================================================================== --- trunk/languages/pipp/docs/internals.pod (original) +++ trunk/languages/pipp/docs/internals.pod Mon Jan 26 05:02:52 2009 @@ -26,6 +26,16 @@ The parse tree is transformed to a Parrot Abstrace Syntax Tree. PIR und Bytecode is then generated from the PAST. +=head1 language constructs + +=head2 echo + +No return value. + +=head2 print + +Always returns 1. + =head1 Variables List of scopes and types of variables. Modified: trunk/languages/pipp/src/common/builtins.pir ============================================================================== --- trunk/languages/pipp/src/common/builtins.pir (original) +++ trunk/languages/pipp/src/common/builtins.pir Mon Jan 26 05:02:52 2009 @@ -39,7 +39,7 @@ goto iter_loop iter_end: - .return (1) + .RETURN_NULL() .end ## autoincrement