Skip to content
Permalink
Browse files
Implement upper/lower/initcap/firstcap functions in the expression pa…
…rser (#4255)
  • Loading branch information
szekerest committed Sep 29, 2013
1 parent 6f0606b commit f75cf226da533f58fba88791ae7287d19e6536f4
Show file tree
Hide file tree
Showing 7 changed files with 2,681 additions and 3,116 deletions.
4,327 maplexer.c

Large diffs are not rendered by default.

@@ -182,6 +182,10 @@ 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>firstcap { MS_LEXER_RETURN_TOKEN(MS_TOKEN_FUNCTION_FIRSTCAP); }

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

0 comments on commit f75cf22

Please sign in to comment.