Browse Source

core/parse_methods: removed duplicate check for same characters

- on a report generated by cppcheck sent by David Binderman
Daniel-Constantin Mierla 11 years ago
parent
commit
935f06eb8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      parser/parse_methods.c

+ 1 - 1
parser/parse_methods.c

@@ -40,7 +40,7 @@ static int token_char(char _c)
  		(_c >= 48 && _c <= 57) ||        /* digits */
  		(_c == '-') || (_c == '.') || (_c == '!') || (_c == '%') ||
  		(_c == '*') || (_c == '_') || (_c == '+') || (_c == '`') ||
- 		(_c == '\'') || (_c == '~') || (_c == '+') || (_c == '`');
+ 		(_c == '\'') || (_c == '~');
  }