<!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 ...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> </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->autologin=NULL;</FONT></DIV>
<DIV><FONT face=Arial size=2>3) function msFreeMap in mafile.c add this line
free(map->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> </DIV>
<DIV><FONT face=Arial size=2> </FONT><FONT face=Arial
size=2>
case(AUTOLOGIN):<BR>
if((map->autologin = getString()) == NULL)
return(NULL);<BR> break;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </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> msLoadMap(): Unknown identifier. Parsing
error near (AUTOLOGIN):(line 11) </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </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> </DIV>
<DIV><FONT face=Arial size=2> </FONT><FONT face=Arial size=2>Can someone
know how can I do it?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for your reply ivan mjartan
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR> </DIV>
<DIV> </DIV>
<DIV> <BR></FONT></DIV></BODY></HTML>