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
Showing with 2,681 additions and 3,116 deletions.
  1. +1,926 −2,401 maplexer.c
  2. +4 −0 maplexer.l
  3. +616 −681 mapparser.c
  4. +75 −33 mapparser.h
  5. +21 −0 mapparser.y
  6. +2 −1 mapserver.h
  7. +37 −0 mapstring.c
4,327 maplexer.c

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -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); }
Oops, something went wrong.

0 comments on commit f75cf22

Please sign in to comment.