Loading ...
Sorry, an error occurred while loading the content.

Re: C Preprocessor syntax

Expand Messages
  • Bram Moolenaar
    ... It would be possible. But there will probably be some interaction between the preprocessor and the language. It would also be possible to copy the
    Message 1 of 3 , Jul 3, 2000
    • 0 Attachment
      John Lonergan wrote:

      > Can this be separated out as a separate syntax file in future releases so
      > that it can be included in hybrids with other languages lacking a build in
      > preprocessor (eg html/java).

      It would be possible. But there will probably be some interaction between the
      preprocessor and the language. It would also be possible to copy the relevant
      code from c.vim. Would that be a big problem?

      --
      hundred-and-one symptoms of being an internet addict:
      163. You go outside for the fresh air (at -30 degrees) but open the
      window first to hear new mail arrive.

      /// Bram Moolenaar Bram@... http://www.moolenaar.net \\\
      \\\ Vim: http://www.vim.org ICCF Holland: http://iccf-holland.org ///
    • raf
      ... m4 is a better preprocessor for arbitrary languages and it already has its own syntax file. you could try that. raf
      Message 2 of 3 , Jul 3, 2000
      • 0 Attachment
        Bram Moolenaar wrote:

        > John Lonergan wrote:
        >
        > > Can this be separated out as a separate syntax file in future releases so
        > > that it can be included in hybrids with other languages lacking a build in
        > > preprocessor (eg html/java).
        >
        > It would be possible. But there will probably be some interaction between the
        > preprocessor and the language. It would also be possible to copy the relevant
        > code from c.vim. Would that be a big problem?

        m4 is a better preprocessor for arbitrary languages and
        it already has its own syntax file. you could try that.

        raf
      Your message has been successfully submitted and would be delivered to recipients shortly.