yasnippet/extras/imported/f90-mode/Open.../Input File.yasnippet
2009-08-29 17:59:02 +00:00

8 lines
270 B
Plaintext

# -*- mode: snippet -*-
# key: open
# contributor: Translated from TextMate Snippet
# name: Input File
# --
open(unit=${1:iounit}, file=${2:name}, iostat=${3:ios}, status="${4:old}", action="${5:read}")
if ( $3 /= 0 ) stop "Error opening file ${2/[\"\'](.*)[\"\']/$1/}"