mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 13:33:04 +00:00
8 lines
221 B
Plaintext
8 lines
221 B
Plaintext
# -*- mode: snippet -*-
|
|
# key: close
|
|
# contributor: Translated from TextMate Snippet
|
|
# name: Close File
|
|
# --
|
|
close(unit=${1:iounit}, iostat=${2:ios}${3:, status="delete"})
|
|
if ( $2 /= 0 ) stop "Error closing file unit $1"
|