[mapserver-users] Mapfile keywords list and block keywords

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Mon Feb 28 15:24:05 EST 2011


Check out mapfile.c and walk through the various load… functions. Each object that has a block basically has a load function (e.g. loadLayer, loadClass, loadLabel)…

Steve

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Marco Tosato
Sent: Monday, February 28, 2011 8:15 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Mapfile keywords list and block keywords

Good day all,

I'm writing a little mapfile parser, I found a list of kerywords and reserved words in the file "maplexer.l" but now I need to know which words marks the begin of a block (for example the keyword LAYER begins a block which needs to be terminated with the END keyword), anyone has some suggestion?

I found the VIM syntax page (http://mapserver.org/development/editing/vim.html) where there is a VIM configuration file which lists the mapfile keywords to be highlightied in VIM and another file which lists keywords that can be folded ....can I trust these lists and use the code folding configuration file to obtain the block keywords or should I search somewhere else?

Thanks a lot!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110228/92aa3e97/attachment.html


More information about the mapserver-users mailing list