Skip to content

Commit

Permalink
[kb] Prevent VAL from changing the case
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-mitrevski committed Mar 22, 2020
1 parent c9d85aa commit 795d128
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions rosplan_knowledge_base/src/VALfiles/lex.yy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1783,8 +1783,6 @@ YY_RULE_SETUP
{unsigned int i;
yylval.cp = new char[strlen(yytext)+1];
strcpy(yylval.cp,yytext);
for(i = 0;i<strlen(yylval.cp);i++)
yylval.cp[i] = tolower(yylval.cp[i]);
// If symbol is registered as a function symbol,
// return token FUNCTION_SYMBOL else return NAME
//cout << yytext << " " << line_no << "\n";
Expand Down
2 changes: 0 additions & 2 deletions rosplan_knowledge_base/src/VALfiles/pddl+.lex
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ at_time "at"{whitespace}{float}
{string} {unsigned int i;
yylval.cp = new char[strlen(yytext)+1];
strcpy(yylval.cp,yytext);
for(i = 0;i<strlen(yylval.cp);i++)
yylval.cp[i] = tolower(yylval.cp[i]);
// If symbol is registered as a function symbol,
// return token FUNCTION_SYMBOL else return NAME
//cout << yytext << " " << line_no << "\n";
Expand Down

0 comments on commit 795d128

Please sign in to comment.