** Load a floating point number from the map file. (see lexer.l) */
| 220 | ** Load a floating point number from the map file. (see lexer.l) |
| 221 | */ |
| 222 | int getDouble(double *d) { |
| 223 | if(msyylex() == MS_NUMBER) { |
| 224 | *d = msyynumber; |
| 225 | return(0); /* success */ |
| 226 | } |
| 227 | |
| 228 | msSetError(MS_SYMERR, "Parsing error near (%s):(line %d)", "getDouble()", msyystring_buffer, msyylineno); |
| 229 | return(-1); |
| 230 | } |
| 231 | |
| 232 | /* |
| 233 | ** Load a integer from the map file. (see lexer.l) |
no test coverage detected