|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60147 - in trunk/tools/quickbook: . test
From: daniel_james_at_[hidden]
Date: 2010-03-04 02:17:15
Author: danieljames
Date: 2010-03-04 02:17:14 EST (Thu, 04 Mar 2010)
New Revision: 60147
URL: http://svn.boost.org/trac/boost/changeset/60147
Log:
Make unicode escapes strictly 4 digits.
Text files modified:
trunk/tools/quickbook/phrase.hpp | 2 +-
trunk/tools/quickbook/test/unicode-escape.quickbook | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/tools/quickbook/phrase.hpp
==============================================================================
--- trunk/tools/quickbook/phrase.hpp (original)
+++ trunk/tools/quickbook/phrase.hpp 2010-03-04 02:17:14 EST (Thu, 04 Mar 2010)
@@ -275,7 +275,7 @@
str_p("\\n") [actions.break_]
| "\\ " // ignore an escaped char
| '\\' >> punct_p [actions.raw_char]
- | "\\u">> repeat_p(1,4)
+ | "\\u">> repeat_p(4)
[
chset<>("0-9a-fA-F")
] [actions.escape_unicode]
Modified: trunk/tools/quickbook/test/unicode-escape.quickbook
==============================================================================
--- trunk/tools/quickbook/test/unicode-escape.quickbook (original)
+++ trunk/tools/quickbook/test/unicode-escape.quickbook 2010-03-04 02:17:14 EST (Thu, 04 Mar 2010)
@@ -2,7 +2,7 @@
[quickbook 1.5]
]
-[heading I\uF1t\uEBrn\uE2ti\uF4n\uE0liz\uE6ti\uF8n]
+[heading I\u00F1t\u00EBrn\u00E2ti\u00F4n\u00E0liz\u00E6ti\u00F8n]
* \u0391\u03B1 Alpha
* \u0392\u03B2 Beta
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk