Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
b9e0d8a6
Commit
b9e0d8a6
authored
Jan 04, 2012
by
Pieter Noordhuis
Browse files
Align escapes
parent
7e773ee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
parser.h
View file @
b9e0d8a6
...
@@ -36,15 +36,15 @@ struct redis_parser_callbacks_s {
...
@@ -36,15 +36,15 @@ struct redis_parser_callbacks_s {
redis_parser_destroy_cb
destroy
;
redis_parser_destroy_cb
destroy
;
};
};
#define REDIS_PARSER_ERRNO_MAP(_X) \
#define REDIS_PARSER_ERRNO_MAP(_X)
\
_X(OK, NULL)
/* = 0 in enum */
\
_X(OK, NULL)
/* = 0 in enum */
\
_X(UNKNOWN, "unknown") \
_X(UNKNOWN, "unknown")
\
_X(CALLBACK, "callback failed") \
_X(CALLBACK, "callback failed")
\
_X(INVALID_TYPE, "invalid type character") \
_X(INVALID_TYPE, "invalid type character")
\
_X(INVALID_INT, "invalid integer character") \
_X(INVALID_INT, "invalid integer character")
\
_X(OVERFLOW, "overflow") \
_X(OVERFLOW, "overflow")
\
_X(EXPECTED_CR, "expected \\r") \
_X(EXPECTED_CR, "expected \\r")
\
_X(EXPECTED_LF, "expected \\n")
\
_X(EXPECTED_LF, "expected \\n")
#define _REDIS_PARSER_ERRNO_GEN(code, description) RPE_##code,
#define _REDIS_PARSER_ERRNO_GEN(code, description) RPE_##code,
enum
redis_parser_errno
{
enum
redis_parser_errno
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment