logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: Making my own Haskell mode: msg#00013

editors.jed.user

Subject: Re: Making my own Haskell mode

Hello v01d,

v01d <phreakuencies@xxxxxxxxx> wrote:
> a) I don't know how should I define multiline comments using DFA
> (looking at cmode, it seems that it uses some wierd regular expressions
> that end up matching lines between other lines that have the /* and */.
> I don't know if this is the way I should do it (even so, I'm not very
> sure what should I match).

It's not possible. DFA only matches single lines and does not have a
state. You must use the old highlighting scheme

define_syntax("/*", "*/", '%' "haskel")

Bye, Jörg.
--
Der Klügere gibt nach …
… deshalb regieren die Dummen die Welt!



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo