Guest User

Untitled

a guest
Jul 19th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. From 90565a159daa75f0fb8db51a1de7c68394b2836d Mon Sep 17 00:00:00 2001
  2. From: snarkyboojum <snarkyboojum@gmail.com>
  3. Date: Wed, 12 Jan 2011 15:04:15 +1100
  4. Subject: [PATCH] [Perl6/Compiler] Parrot revision for --version fix
  5.  
  6. Check to see that the Parrot rev is available before trying to use it.
  7. ---
  8. src/Perl6/Compiler.pir | 2 +-
  9. 1 files changed, 1 insertions(+), 1 deletions(-)
  10.  
  11. diff --git a/src/Perl6/Compiler.pir b/src/Perl6/Compiler.pir
  12. index 7e49a4e..9340e88 100644
  13. --- a/src/Perl6/Compiler.pir
  14. +++ b/src/Perl6/Compiler.pir
  15. @@ -267,7 +267,7 @@ Perl6::Compiler - Perl6 compiler
  16. print .RAKUDO_VERSION
  17. print ' built on parrot '
  18. print version
  19. - unless rev goto done_rev
  20. + if null rev goto done_rev
  21. print ' '
  22. print rev
  23. done_rev:
  24. --
  25. 1.7.0.4
Add Comment
Please, Sign In to add comment