1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

Remove unnecessary escaping in C character literals

'\"' is more commonly written simply as '"'.
This commit is contained in:
Peter Eisentraut
2015-12-22 22:43:46 -05:00
parent 6efbded6e4
commit 30c0c4bf12
9 changed files with 22 additions and 22 deletions

View File

@@ -245,7 +245,7 @@ nodeTokenType(char *token, int length)
retval = RIGHT_PAREN;
else if (*token == '{')
retval = LEFT_BRACE;
else if (*token == '\"' && length > 1 && token[length - 1] == '\"')
else if (*token == '"' && length > 1 && token[length - 1] == '"')
retval = T_String;
else if (*token == 'b')
retval = T_BitString;