===========================================================================
| 842 | |
| 843 | //=========================================================================== |
| 844 | const char * FindTokenOrAlphaNumeric ( const char *pSrc, const TokenTable_t *aTokens, const int nTokens, ArgToken_e * pToken_ ) |
| 845 | { |
| 846 | if ( pToken_ ) |
| 847 | *pToken_ = NO_TOKEN; |
| 848 | |
| 849 | const char *pEnd = pSrc; |
| 850 | |
| 851 | if (pSrc && (*pSrc)) |
| 852 | { |
| 853 | if (isalnum( *pSrc )) |
| 854 | { |
| 855 | if (pToken_) |
| 856 | *pToken_ = TOKEN_ALPHANUMERIC; |
| 857 | } |
| 858 | else |
| 859 | { |
| 860 | pEnd = ParserFindToken( pSrc, aTokens, nTokens, pToken_ ); |
| 861 | if (! pEnd) |
| 862 | pEnd = pSrc; |
| 863 | } |
| 864 | } |
| 865 | return pEnd; |
| 866 | } |
| 867 | |
| 868 | |
| 869 | //=========================================================================== |
no test coverage detected