Skip to content

Commit 76284bb

Browse files
committed
Fix code style
1 parent f6d19cc commit 76284bb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/defs.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@
1515
/* Common macro functions */
1616
#define is_whitespace(c) (c == ' ' || c == '\t')
1717
#define is_newline(c) (c == '\r' || c == '\n')
18-
#define is_alnum(c) ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || \
19-
(c >= '0' && c <= '9') || (c == '_'))
18+
#define is_alnum(c) \
19+
((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || \
20+
(c >= '0' && c <= '9') || (c == '_'))
2021
#define is_digit(c) ((c >= '0' && c <= '9'))
21-
#define is_hex(c) (is_digit(c) || (c >= 'a' && c <= 'f') || \
22-
(c >= 'A' && c <= 'F'))
22+
#define is_hex(c) \
23+
(is_digit(c) || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'))
2324

2425
/* Limitations */
2526
#define MAX_TOKEN_LEN 256

0 commit comments

Comments
 (0)