File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ pure logical function is_control(c)
9898 pure logical function is_digit(c)
9999 character (len= 1 ), intent (in ) :: c ! ! The character to test.
100100 integer :: ic
101+ ic = iachar (c)
101102 is_digit = (iachar (' 0' ) <= ic) .and. (ic <= iachar (' 9' ))
102103 end function
103104
@@ -110,7 +111,7 @@ pure logical function is_octal_digit(c)
110111 end function
111112
112113 ! > Checks whether `c` is a digit in base 16 (0 .. 9, A .. F, a .. f).
113- pure logical function is_hex_digit(cin )
114+ pure logical function is_hex_digit(c )
114115 character (len= 1 ), intent (in ) :: c ! ! The character to test.
115116 integer :: ic
116117 ic = iachar (c)
@@ -148,7 +149,7 @@ pure logical function is_printable(c)
148149 end function
149150
150151 ! > Checks whether `c` is a lowercase ASCII letter (a .. z).
151- pure logical function is_lower(cin )
152+ pure logical function is_lower(c )
152153 character (len= 1 ), intent (in ) :: c ! ! The character to test.
153154 is_lower = (c >= ' a' ) .and. (c <= ' z' )
154155 end function
You can’t perform that action at this time.
0 commit comments