Re: Adding another language to the fray
"Lars Ivar Igesund" <[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <02c801c3722e$17b0f140$0200000a@mesmer> |
----- Original Message ----- From: "Bram Moolenaar" <[email protected]> > > What I have done is this: > > > > Added ("d", "d") to the Filetype list. > > Added a default route to default.aap > > Added dmd.py to the tools dir > > Added a compile action with accompanying rule to default.aap > > (the content of the action is almost identical to the c one and > > starts like this: > > :action compile object,default d > > ) > > > > Anyway, something is wrong or lacking somewhere, as aap decides > > to crash on my action with the message: > > action must have two or three arguments > > > > which I mean that it has. > > I tried to reproduce this problem with a simple recipe: > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > :filetype > suffix d d > > :action compile object,default d > :print I'm compiling > > all: > :print nothing > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > I don't get an error message. > > What version of Aap are you using? > 1.022, cvs. Hmm, can it have something to do with the fact that the action is specified in default.aap? Also, more testing shows that if the stuff following the :action line is just a :print command, the error don't show up. Btw, is it possible to log while processing default.aap? > > BTW: Please avoid sending HTML when the message only contains plain > text. Sorry Lars Ivar Igesund ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf