Skip to content

Commit 36f9abe

Browse files
committed
Revert "Update stdlib_ascii.f90"
This reverts commit 0b60a39.
1 parent 0b60a39 commit 36f9abe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/stdlib_ascii.f90

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ 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)
102101
is_digit = (iachar('0') <= ic) .and. (ic <= iachar('9'))
103102
end function
104103

@@ -111,7 +110,7 @@ pure logical function is_octal_digit(c)
111110
end function
112111

113112
!> Checks whether `c` is a digit in base 16 (0 .. 9, A .. F, a .. f).
114-
pure logical function is_hex_digit(c)
113+
pure logical function is_hex_digit(cin)
115114
character(len=1), intent(in) :: c !! The character to test.
116115
integer :: ic
117116
ic = iachar(c)
@@ -149,7 +148,7 @@ pure logical function is_printable(c)
149148
end function
150149

151150
!> Checks whether `c` is a lowercase ASCII letter (a .. z).
152-
pure logical function is_lower(c)
151+
pure logical function is_lower(cin)
153152
character(len=1), intent(in) :: c !! The character to test.
154153
is_lower = (c >= 'a') .and. (c <= 'z')
155154
end function

0 commit comments

Comments
 (0)