Thursday, February 16, 2012

Re: Change needed in cobol.vim syntax file.

Hi john!

On Do, 16 Feb 2012, john Culleton wrote:

> On Wed, 15 Feb 2012 16:38:47 -0800 (PST)
> John Little <john.b.little@gmail.com> wrote:
>
> > On Feb 16, 10:26 am, john Culleton <J...@wexfordpress.com> wrote:
> > >
> > > I started with pre-COBOL 68, in 1968.  The IF statement and the
> > > AT END statements were legal then and still are legal in all the
> > > compilers I have used.  I am reasonably certain they were legal
> > > in the very first COBOL compiler written by Grace Murray Hopper
> > > and her crew.   So there is a fault in cobol.vim. Yes, I
> > > have cobol_legacy_code set. That should not cause IF and END to
> > > be highlighted as errors. There is a problem with cobol.vim, like
> > > it or not.
> >
> > (Hey, we're friendlier than that here. Such belaboured sarcasm may
> > not be appreciated.)
>
> Well I did what I swore I wouldn't do, hacked the cobol.vim file
> blindly. I inserted the keywords IF and END in the big list of
> COBOL reserved words. Now it works, at least enough to satisfy me.
> I left in the line:

You wouldn't have to. I told you, how to configure it properly. I hope,
you didn't modify the file in $VIMRUNTIME directly:
http://vimhelp.appspot.com/vim_faq.txt.html#faq-36.11


regards,
Christian
--

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: