* syntax.c (syntax_text): Remove useless ']' in the Perl and
Python rules. Change shell script rule to use more portable regular expression.
Этот коммит содержится в:
родитель
0b245d4db4
Коммит
f743b68a21
@ -1,5 +1,9 @@
|
||||
2001-09-04 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* syntax.c (syntax_text): Remove useless ']' in the Perl and
|
||||
Python rules. Change shell script rule to use more portable
|
||||
regular expression.
|
||||
|
||||
* editcmd.c (edit_block_process_cmd): Prepend space to the
|
||||
command to avoid polluting bash history. Document arguments.
|
||||
Fix crash if block is 0 - not used currently.
|
||||
|
@ -1211,13 +1211,13 @@ static const char * const syntax_text[] = {
|
||||
"file ..\\*\\\\.lsm$ LSM\\sFile",
|
||||
"include lsm.syntax",
|
||||
"",
|
||||
"file ..\\*\\\\.sh$ Shell\\sScript ^#!\\s\\*/.\\*/(k|ba||pdk|z)sh",
|
||||
"file ..\\*\\\\.sh$ Shell\\sScript ^#!\\s\\*/.\\*/([a-z]?|ba|pdk)sh",
|
||||
"include sh.syntax",
|
||||
"",
|
||||
"file ..\\*\\\\.(pl|PL|pm|PM])$ Perl\\sProgram ^#!\\s\\*/.\\*/perl",
|
||||
"file ..\\*\\\\.(pl|PL|pm|PM)$ Perl\\sProgram ^#!\\s\\*/.\\*/perl",
|
||||
"include perl.syntax",
|
||||
"",
|
||||
"file ..\\*\\\\.(py|PY])$ Python\\sProgram ^#!\\s\\*/.\\*/python",
|
||||
"file ..\\*\\\\.(py|PY)$ Python\\sProgram ^#!\\s\\*/.\\*/python",
|
||||
"include python.syntax",
|
||||
"",
|
||||
"file ..\\*\\\\.(man|[0-9n]|[0-9]x)$ NROFF\\sSource",
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user