<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi everybody</FONT></DIV>
<DIV><FONT face=Arial size=2>I have one question I need add one special symbol 
into mapfile and special item in to struct map_obj &nbsp;...in object MAP for 
example symbol AUTOLOGIN </FONT></DIV>
<DIV><FONT face=Arial size=2>I redefine </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>1) struct map_obj add this code char * autologin; 
in map.h file</FONT></DIV>
<DIV><FONT face=Arial size=2>2) function initMap in mafile.c add this line 
map-&gt;autologin=NULL;</FONT></DIV>
<DIV><FONT face=Arial size=2>3) function msFreeMap in mafile.c add this line 
free(map-&gt;autologin);</FONT></DIV>
<DIV><FONT face=Arial size=2>4) add this line: #define AUTOLOGIN 2000 into 
mapfile.h</FONT></DIV>
<DIV><FONT face=Arial size=2>5) add this code in function loadMapInternal 
mafile.c</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</FONT><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp; 
case(AUTOLOGIN):<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if((map-&gt;autologin = getString()) == NULL) 
return(NULL);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</FONT><FONT face=Arial size=2>When I compile 
mapserver and than run it I have still this error: </FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;msLoadMap(): Unknown identifier. Parsing 
error near (AUTOLOGIN):(line 11) </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</FONT><FONT face=Arial size=2>I know that I 
have to redefine something in some lexer file .... but it is quite complicated 
form me :(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</FONT><FONT face=Arial size=2>Can someone 
know how can I do it?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for your reply&nbsp;ivan mjartan &nbsp; 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;<BR></FONT></DIV></BODY></HTML>