📄 iparm.m4
字号:
dnl Support macro file for intrinsic functions.dnl Works out all the function types from the filename.dnl This file is part of the GNU Fortran 95 Runtime Library (libgfortran)dnl Distributed under the GNU GPL with exception. See COPYING for details.dnl M4 macro file to get type names from filenamesdefine(get_typename2, `GFC_$1_$2')dnldefine(get_typename, `get_typename2(ifelse($1,i,INTEGER,ifelse($1,r,REAL,ifelse($1,l,LOGICAL,ifelse($1,c,COMPLEX,unknown)))),`$2')')dnldefine(get_arraytype, `gfc_array_$1$2')dnldefine(define_type, `dnlifelse(regexp($2,`^[0-9]'),-1,`dnldefine($1_letter, substr($2, 0, 1))dnldefine($1_kind, substr($2, 1))dnl',`dnldefine($1_letter,i)dnldefine($1_kind,$2)dnl')dnldefine($1_code,$1_letter`'$1_kind)dnldefine($1,get_arraytype($1_letter,$1_kind))dnldefine($1_name, get_typename($1_letter, $1_kind))')dnldnldefine_type(atype, regexp(file, `_\(.?[0-9]*\)\.c$', `\1'))dnldefine(rtype_tmp, regexp(file, `_\(.?[0-9]*\)_[^_]*\.c$', `\1'))dnlifelse(rtype_tmp,,`dnldefine_type(rtype, atype_code)dnldefine(rtype_qual,`')dnl',`dnldefine_type(rtype, rtype_tmp)dnldefine(rtype_qual,`_'rtype_kind)dnl')dnldefine(atype_max, atype_name`_HUGE')dnldefine(atype_min, `-'atype_max)dnldefine(name, regexp(regexp(file, `[^/]*$', `\&'), `^\([^_]*\)_', `\1'))dnldefine(rtype_ccode,ifelse(rtype_letter,`c',rtype_code,rtype_kind))dnl
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -