patch-data_elvis_syn 850 B

123456789101112131415161718
  1. $OpenBSD: patch-data_elvis_syn,v 1.1 2012/05/05 14:03:15 sthen Exp $
  2. Add "return" to the list of keywords for shell scripts.
  3. --- data/elvis.syn.orig Tue Oct 21 04:32:25 2003
  4. +++ data/elvis.syn Sat May 5 13:33:21 2012
  5. @@ -209,8 +209,8 @@ keyword $* $@ $# $? $- $$ $! & | ; [ ] < > ( )
  6. keyword alias autoload bg break case cd continue do done echo elif else esac
  7. keyword eval exec exit export false fc fg fi for getopts hash history
  8. keyword if in integer jobs kill let newgrp nohup print pwd r read readonly
  9. -keyword select set shift source stop suspend test then time times trap type
  10. -keyword typeset ulimit umask unalias unset until wait whence while
  11. +keyword return select set shift source stop suspend test then time times trap
  12. +keyword type typeset ulimit umask unalias unset until wait whence while
  13. function (
  14. comment #
  15. startword /?-*!.