Mercurial > emacs
view leim/CXTERM-DIC/Punct.tit @ 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 | 746c40973d25 |
children | eb7e8d483840 ef719132ddfa |
line wrap: on
line source
# HANZI input table for cxterm # To be used by cxterm, convert me to .cit format first # .cit version 1 ENCODE: GB MULTICHOICE: YES PROMPT: ºº×ÖÊäÈë¡Ë±êµã·ûºÅ¡Ë£ # COMMENT Copyright 1991 by Yongguang Zhang. COMMENT Permission to use/modify/copy for any purpose is hereby granted. COMMENT Absolutely no fee and no warranties. COMMENT COMMENT use <CTRL-f> to move to the right COMMENT use <CTRL-b> to move to the left # define keys VALIDINPUTKEY: "\043$%&'()*+,-./0123456789:;<=>?@[\134]^_`abcdefghijklm VALIDINPUTKEY: nopqrstuvwxyz|~ SELECTKEY: 1\040 SELECTKEY: 2 SELECTKEY: 3 SELECTKEY: 4 SELECTKEY: 5 SELECTKEY: 6 SELECTKEY: 7 SELECTKEY: 8 SELECTKEY: 9 SELECTKEY: 0 BACKSPACE: \010\177 DELETEALL: \015\025 MOVERIGHT: \006 MOVELEFT: \002 REPEATKEY: \020\022 # the following line must not be removed BEGINDICTIONARY # " £¢¡°¡±¡å \043 ££ $ £¤¡ç¡é¡ê % £¥¡ë ' £§¡®¡¯¡ä ( £¨¡¸¡º ) £©¡¹¡» * £ª¡Á¡Ç¡Ä¡É + £«¡À¡Æ¡Å¡È , £¬¡¢ - £¡¥¡ª¡« . £®¡£¡¤¡§¡¡ß¡à¡ã¡Ñ / £¯¡Â¡Ì£Ü 0 £°¢º¢Ä¢Î¢Ø¢â¢î¢ú 1 £±¢±¢»¢Å¢Ï¢Ù¢å¢ñ 2 £²¢²¢¼¢Æ¢Ð¢Ú¢æ¢ò 3 £³¢³¢½¢Ç¢Ñ¢Û¢ç¢ó 4 £´¢´¢¾¢È¢Ò¢Ü¢è¢ô 5 £µ¢µ¢¿¢É¢Ó¢Ý¢é¢õ 6 £¶¢¶¢À¢Ê¢Ô¢Þ¢ê¢ö 7 £·¢·¢Á¢Ë¢Õ¢ß¢ë¢÷ 8 £¸¢¸¢Â¢Ì¢Ö¢à¢ì¢ø 9 £¹¢¹¢Ã¢Í¢×¢á¢í¢ù : £º¡Ë < £¼¡´¡¶¡Ú¡Ü = £½¡Ù¡Ö¡Ô¡Õ > £¾¡µ¡·¡Û¡Ý @ £À¡Ñ [ £Û¡²¡¼¡¾£û \134 £Ü£¯ ] £Ý¡³¡½¡¿£ý ^ £Þ¡¦¡Ð _ £ß¡Í ` £à¡®¡¯ logo ¡î¡ï¡ð¡ñ¡ò¡ó¡ô¡õ¡ö¡÷¡ø¡ù¡ú¡û¡ü¡ý¡þ math ¡À¡Á¡Â¡Ã¡Ä¡Å¡Æ¡Ç¡È¡É¡Ê¡Ë¡Ì¡Í¡Î¡Ï¡Ð¡Ñ¡Ò¡Ó¡Ô¡Õ¡Ö¡×¡Ø math ¡Ù¡Ú¡Û¡Ü¡Ý¡Þ¡ß¡à punct ¡¡¡¢¡£¡¤¡¥¡¦¡§¡¨¡©¡ª¡«¡¬¡¡®¡¯¡°¡±¡²¡³¡´¡µ¡¶¡·¡¸¡¹ punct ¡º¡»¡¼¡½¡¾¡¿ symbol ¡á¡â¡ã¡ä¡å¡æ¡ç¡è¡é¡ê¡ë¡ì¡í | £ü¡¬¡Î ~ £þ¡«¡×¡Ø¡Þ # arch-tag: 4d0e14b7-4eb2-4310-9582-e981f4c4a7f0