error in file Syntax on line 36

Pavel Roskin proski at gnu.org
Sun Jan 20 20:56:50 UTC 2002


Hi!

> Hello again,
> now my mc 4.5.55 work fine, after configure keys. But litte problem.
> When i put F4 to edin file, mc say : Error in file
> /home/user/.cedit/Syntax on line 36.
> If i comment this line edit work fine and colorised source but if not
> ... edit not colorised.
> I search any faq or help for this litte problem but not found. My mc
> work fine under OpenBSD 3.0 i386.

I think I fixed it after the release of 4.5.55.  From edit/ChangeLog:

2001-09-04  Pavel Roskin  <proski at gnu.org> 
...
        * syntax.c (syntax_text): Remove useless ']' in the Perl and
        Python rules.  Change shell script rule to use more portable
        regular expression.

Currently the regular expression for shell scripts is:

file ..\*\\.sh$ Shell\sScript ^#!\s\*/.\*/([a-z]?|ba|pdk)sh

> How i fix this?

Either edit this line in the Syntax file or upgrade to the current 
snapshot.

-- 
Regards,
Pavel Roskin




More information about the mc mailing list