Skip to content

Commit 8d8ca9f

Browse files
committed
Revert "Flag function as const"
This reverts commit a8c3e8c.
1 parent a8c3e8c commit 8d8ca9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scanner.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ typedef struct ScannerState {
7878
* name ('a'..'z', '0'..'9', '_').
7979
*/
8080

81-
__attribute__((const)) static inline bool is_variable_name(int32_t c) {
81+
static inline bool is_variable_name(int32_t c) {
8282
return ((isalpha(c) && islower(c)) || isdigit(c) || (c == U'_'));
8383
}
8484

0 commit comments

Comments
 (0)