Skip to content

Commit

Permalink
Implement upper/lower/initcap functions in the expression parser (Map…
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest committed Sep 26, 2013
1 parent a51a359 commit 6be2cf7
Show file tree
Hide file tree
Showing 7 changed files with 2,308 additions and 2,803 deletions.
3,675 changes: 1,589 additions & 2,086 deletions maplexer.c

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions maplexer.l
Expand Up @@ -182,6 +182,9 @@ char path[MS_MAXPATHLEN];
<EXPRESSION_STRING>tostring { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_TOSTRING); }
<EXPRESSION_STRING>commify { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_COMMIFY); }
<EXPRESSION_STRING>round { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_ROUND); }
<EXPRESSION_STRING>upper { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_UPPER); }
<EXPRESSION_STRING>lower { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_LOWER); }
<EXPRESSION_STRING>initcap { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_INITCAP); }

<EXPRESSION_STRING>buffer { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_BUFFER); }
<EXPRESSION_STRING>difference { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_DIFFERENCE); }
Expand Down

0 comments on commit 6be2cf7

Please sign in to comment.