[mapserver-commits] r10166 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue May 18 23:20:18 EDT 2010
Author: sdlime
Date: 2010-05-18 23:20:17 -0400 (Tue, 18 May 2010)
New Revision: 10166
Modified:
trunk/mapserver/mapparser.y
Log:
Fixed some indentation problems in the parser that made it a little tricky to read.
Modified: trunk/mapserver/mapparser.y
===================================================================
--- trunk/mapserver/mapparser.y 2010-05-18 12:55:55 UTC (rev 10165)
+++ trunk/mapserver/mapparser.y 2010-05-19 03:20:17 UTC (rev 10166)
@@ -194,49 +194,49 @@
$$ = MS_TRUE;
else
$$ = MS_FALSE;
- free($1);
- free($3);
+ free($1);
+ free($3);
}
| string_exp NE string_exp {
if(strcmp($1, $3) != 0)
$$ = MS_TRUE;
else
$$ = MS_FALSE;
- free($1);
- free($3);
+ free($1);
+ free($3);
}
| string_exp GT string_exp {
if(strcmp($1, $3) > 0)
$$ = MS_TRUE;
else
$$ = MS_FALSE;
- /* printf("Not freeing: %s >= %s\n",$1, $3); */
- free($1);
- free($3);
+ /* printf("Not freeing: %s >= %s\n",$1, $3); */
+ free($1);
+ free($3);
}
| string_exp LT string_exp {
if(strcmp($1, $3) < 0)
$$ = MS_TRUE;
else
$$ = MS_FALSE;
- free($1);
- free($3);
+ free($1);
+ free($3);
}
| string_exp GE string_exp {
if(strcmp($1, $3) >= 0)
$$ = MS_TRUE;
else
$$ = MS_FALSE;
- free($1);
- free($3);
+ free($1);
+ free($3);
}
| string_exp LE string_exp {
if(strcmp($1, $3) <= 0)
$$ = MS_TRUE;
else
$$ = MS_FALSE;
- free($1);
- free($3);
+ free($1);
+ free($3);
}
| time_exp EQ time_exp {
if(msTimeCompare(&($1), &($3)) == 0)
@@ -292,8 +292,8 @@
if(strcmp($1,bufferp) == 0) // is this test necessary?
$$ = MS_TRUE;
- free($1);
- free($3);
+ free($1);
+ free($3);
}
| math_exp IN string_exp {
char *delim,*bufferp;
@@ -314,7 +314,7 @@
if($1 == atof(bufferp)) // is this test necessary?
$$ = MS_TRUE;
- free($3);
+ free($3);
}
| math_exp IEQ math_exp {
if($1 == $3)
@@ -327,8 +327,8 @@
$$ = MS_TRUE;
else
$$ = MS_FALSE;
- free($1);
- free($3);
+ free($1);
+ free($3);
}
| time_exp IEQ time_exp {
if(msTimeCompare(&($1), &($3)) == 0)
More information about the mapserver-commits
mailing list