diff --git a/ChangeLog b/ChangeLog index 4a2171016..384357ad4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-03-21 Andrew V. Samoilov + * syntax/c.syntax: Highlight "%p" printf format. + Allow '*' as width and precision for strings and numbers. + * doc/mc.1.in: Fix smbfs example. Minor format fixes. * doc/ru/mc.1.in: Likewise. diff --git a/syntax/c.syntax b/syntax/c.syntax index d960cee4e..ef71a5869 100644 --- a/syntax/c.syntax +++ b/syntax/c.syntax @@ -107,12 +107,13 @@ context " " green/6 keyword \\" brightgreen/16 keyword \\\n brightgreen/16 keyword %% brightgreen/16 - keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen/16 - keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diu\} brightgreen/16 + keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[L\]\{eEfgGoxX\} brightgreen/16 + keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[hl\]\{diu\} brightgreen/16 keyword %\[hl\]n brightgreen/16 - keyword %\[.\]\[0123456789\]s brightgreen/16 + keyword %\[.\]\[0123456789\*\]s brightgreen/16 keyword %[*] brightgreen/16 keyword %c brightgreen/16 + keyword %p brightgreen/16 keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen/16 keyword \\\\ brightgreen/16 keyword \\' brightgreen/16