From: <bni...@us...> - 2006-12-08 22:41:32
|
Revision: 416 http://svn.sourceforge.net/omc/?rev=416&view=rev Author: bnicholes Date: 2006-12-08 14:41:31 -0800 (Fri, 08 Dec 2006) Log Message: ----------- The search for the token in the lexer, should be case insensitive Modified Paths: -------------- clp/trunk/src/clpcmdgram/clpcmdlexer.ll Modified: clp/trunk/src/clpcmdgram/clpcmdlexer.ll =================================================================== --- clp/trunk/src/clpcmdgram/clpcmdlexer.ll 2006-12-06 18:28:33 UTC (rev 415) +++ clp/trunk/src/clpcmdgram/clpcmdlexer.ll 2006-12-08 22:41:31 UTC (rev 416) @@ -131,7 +131,7 @@ //printf("\ncheck token %s\n", token); for (i=0; keywords[i].word; i++) { - if (strcmp(keywords[i].word, token) == 0) { + if (strcasecmp(keywords[i].word, token) == 0) { return keywords[i].token; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |