mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 09:08:06 +00:00
ISRAC2012-Rule-12.1: add suggested parentheses
This commit is contained in:
parent
330534ef66
commit
b3f3a010d5
2
3rd-party/yxml/yxml.c
vendored
2
3rd-party/yxml/yxml.c
vendored
@ -100,7 +100,7 @@ typedef enum {
|
||||
#define yxml_isSP(c) ((c == 0x20) || (c == 0x09) || (c == 0x0a))
|
||||
#define yxml_isAlpha(c) ( ((c|32)-'a') < 26)
|
||||
#define yxml_isNum(c) ((c-'0') < 10)
|
||||
#define yxml_isHex(c) (yxml_isNum(c) || ((c|32)-'a') < 6)
|
||||
#define yxml_isHex(c) (yxml_isNum(c) || (((c|32)-'a') < 6))
|
||||
#define yxml_isEncName(c) (yxml_isAlpha(c) || yxml_isNum(c) || (c == '.') || (c == '_') || (c == '-'))
|
||||
#define yxml_isNameStart(c) (yxml_isAlpha(c) || (c == ':') || (c == '_') || (c >= 128))
|
||||
#define yxml_isName(c) (yxml_isNameStart(c) || yxml_isNum(c) || (c == '-') || (c == '.'))
|
||||
|
Loading…
Reference in New Issue
Block a user