summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-02-13 20:55:08 +0200
committerAlan Coopersmith <alan.coopersmith@oracle.com>2019-06-09 10:42:07 -0700
commit33b9148a833ab2ea46e44871da3c031bf1b78f77 (patch)
tree7cd4acb08f223b610c845aa9e545d1e64942fbac /man
parentd9b2cc35edf01e4f751a9ccb5ac185745184cec0 (diff)
Compose.man: fix escaped hexadecimal char description
The man page says: Strings may be direct text encoded in the locale for which the compose file is to be used, or an escaped octal or hexadecimal character code. Octal codes are specified as "\123" and hexadecimal codes as "\0x123a". But the grammar in the parser and the implementation say: ESCAPED_CHAR ::= ('\\' | '\"' | OCTAL | HEX ) HEX ::= '\' (x|X) HEX_CHAR [HEX_CHAR]] HEX_CHAR ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f) So "\0x123a" -> "\x3a". Signed-off-by: Ran Benita <ran234@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man')
-rw-r--r--man/Compose.man2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/Compose.man b/man/Compose.man
index 6a8a9668..71231698 100644
--- a/man/Compose.man
+++ b/man/Compose.man
@@ -112,7 +112,7 @@ Keysyms are specified without the \fBXK_\fP prefix.
Strings may be direct text encoded in the locale for which the compose file is
to be used, or an escaped octal or hexadecimal character code. Octal codes
are specified as \fB\*q\\123\*q\fP and hexadecimal codes as
-\fB\*q\\0x123a\*q\fP.
+\fB\*q\\x3a\*q\fP.
It is not necessary to specify in the right part of a rule a locale encoded
string in addition to the keysym name. If the string is omitted, Xlib
figures it out from the keysym according to the current locale.