File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 11
22if (WIN32 )
3- set (is_abs "
4- if (scan('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', path(1:1)) > 0 .and. &
5- path(2:2) == ':') is_absolute_path = .true.
6- " )
3+ set (is_abs "if (lge(path(1:1), 'A' .and. lle(path(1:1), 'z') .and. path(2:2) == ':') is_absolute_path = .true." )
74else ()
85 set (is_abs "if(path(1:1) == '/') is_absolute_path=.true." )
96endif ()
Original file line number Diff line number Diff line change 11conf_data = configuration_data ()
22
33if os == ' windows'
4- code = '''
5- if (scan('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', path(1:1)) > 0 .and. &
6- path(2:2) == ':') is_absolute_path = .true.
7- '''
4+ code = ''' if (lge(path(1:1), 'A') .and. lle(path(1:1), 'z') .and. path(2:2) == ':') is_absolute_path = .true.'''
85else
96 code = ''' if(path(1:1) == '/') is_absolute_path=.true.'''
107endif
You can’t perform that action at this time.
0 commit comments