Mercurial > emacs
view etc/charsets/CP1256.map @ 106395:f2b36fb84bf7
Enhance `c-parse-state' to run efficiently in "brace desserts".
* progmodes/cc-mode.el (c-basic-common-init): Call
c-state-cache-init.
(c-neutralize-syntax-in-and-mark-CPP): Renamed from
c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
placing `category' properties value 'c-cpp-delimiter at its
boundaries.
* progmodes/cc-langs.el (c-before-font-lock-function):
c-extend-and-neutralize-syntax-in-CPP has been renamed
c-neutralize-syntax-in-and-mark-CPP.
* progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
with `category' properties now, not `syntax-table' ones.
* progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
enhanced (but slower) version of c-end-of-macro that won't land
inside a literal or on another awkward character.
(c-state-cache-too-far, c-state-cache-start)
(c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
(c-state-nonlit-pos-cache-limit, c-state-point-min)
(c-state-point-min-lit-type, c-state-point-min-lit-start)
(c-state-min-scan-pos, c-state-brace-pair-desert)
(c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
buffer local variables.
(c-state-literal-at, c-state-lit-beg)
(c-state-cache-non-literal-place, c-state-get-min-scan-pos)
(c-state-mark-point-min-literal, c-state-cache-top-lparen)
(c-state-cache-top-paren, c-state-cache-after-top-paren)
(c-get-cache-scan-pos, c-get-fallback-scan-pos)
(c-state-balance-parens-backwards, c-parse-state-get-strategy)
(c-renarrow-state-cache)
(c-append-lower-brace-pair-to-state-cache)
(c-state-push-any-brace-pair, c-append-to-state-cache)
(c-remove-stale-state-cache)
(c-remove-stale-state-cache-backwards, c-state-cache-init)
(c-invalidate-state-cache-1, c-parse-state-1)
(c-invalidate-state-cache): New defuns/defmacros/defsubsts.
(c-parse-state): Enhanced and refactored.
(c-debug-parse-state): Amended to deal with all the new variables.
* progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
(c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
modify to use category text properties rather than syntax-table
ones.
(c-suppress-<->-as-parens, c-restore-<->-as-parens): new defsubsts
to switch off/on the syntactic paren property of C++ template
delimiters using the category property.
(c-with-<->-as-parens-suppressed): Macro to invoke code with
template delims suppressed.
(c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
New constant/macros which apply category properties to the start
and end of preprocessor constructs.
(c-comment-out-cpps, c-uncomment-out-cpps): defsubsts which
"comment out" the syntactic value of characters in preprocessor
constructs.
(c-with-cpps-commented-out)
(c-with-all-but-one-cpps-commented-out): Macros to invoke code
with characters in all or all but one preprocessor constructs
"commented out".
author | Alan Mackenzie <acm@muc.de> |
---|---|
date | Thu, 03 Dec 2009 16:02:10 +0000 |
parents | 8cc2b1e9767f |
children |
line wrap: on
line source
# Generated from CP1256 in localedate/charmaps of glibc 0x00-0x7F 0x0000 0x80 0x20AC 0x81 0x067E 0x82 0x201A 0x83 0x0192 0x84 0x201E 0x85 0x2026 0x86-0x87 0x2020 0x88 0x02C6 0x89 0x2030 0x8A 0x0679 0x8B 0x2039 0x8C 0x0152 0x8D 0x0686 0x8E 0x0698 0x8F 0x0688 0x90 0x06AF 0x91-0x92 0x2018 0x93-0x94 0x201C 0x95 0x2022 0x96-0x97 0x2013 0x98 0x06A9 0x99 0x2122 0x9A 0x0691 0x9B 0x203A 0x9C 0x0153 0x9D-0x9E 0x200C 0x9F 0x06BA 0xA0 0x00A0 0xA1 0x060C 0xA2-0xA9 0x00A2 0xAA 0x06BE 0xAB-0xB9 0x00AB 0xBA 0x061B 0xBB-0xBE 0x00BB 0xBF 0x061F 0xC0 0x06C1 0xC1-0xD6 0x0621 0xD7 0x00D7 0xD8-0xDB 0x0637 0xDC-0xDF 0x0640 0xE0 0x00E0 0xE1 0x0644 0xE2 0x00E2 0xE3-0xE6 0x0645 0xE7-0xEB 0x00E7 0xEC-0xED 0x0649 0xEE-0xEF 0x00EE 0xF0-0xF3 0x064B 0xF4 0x00F4 0xF5-0xF6 0x064F 0xF7 0x00F7 0xF8 0x0651 0xF9 0x00F9 0xFA 0x0652 0xFB-0xFC 0x00FB 0xFD-0xFE 0x200E 0xFF 0x06D2