- Timestamp:
- 08/31/07 20:45:57 (15 months ago)
- Files:
-
- 1 modified
-
util/cperl-mode.el (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
util/cperl-mode.el
r17475 r17553 6687 6687 (1- e) 'to-end)) 6688 6688 (and (memq qtag (append "pPN" nil)) 6689 (re-search-forward "\\={[^{}]+}\\|." 6689 (re-search-forward "\\={[^{}]+}\\|." ;; ss5: hier interessant f�und aehnliche Spezialvariablen? 6690 6690 (1- e) 'to-end)) 6691 6691 (eq (char-syntax qtag) ?w)) … … 6914 6914 ;; Positions is before ?\{. Checks whether it starts a block. 6915 6915 ;; No save-excursion! This is more a distinguisher of a block/hash ref... 6916 ; ss5: 2007-08-27 seems not to work 6917 ; (or 6918 ; (and ; perl6: it's never a hash if whitespace before brace 6919 ; (cond (cperl-use-v6)) 6920 ; (memq (preceding-char) (append " \t" nil))) 6916 (or 6917 (and ; perl6: it's never a hash if whitespace before brace (not yet perfect) 6918 (cond (cperl-use-v6)) 6919 (memq (preceding-char) (append " \t" nil))) 6921 6920 (progn 6922 6921 (cperl-backward-to-noncomment (point-min)) … … 6942 6941 (progn ; perl6: "if/elsif/unless/while/until/given/when/for/loop" without parens; just look at beginning of line 6943 6942 (beginning-of-line) 6944 (looking-at "\\s *}?\\s *\\(\\(els\\(e\\s +\\|\\)\\)?if\\|un\\(less\\|til\\)\\|given\\|wh\\(ile\\|en\\)\\|for\\|loop\\)\\>"))))) 6945 ; corresponding to ss5: 2007-08-27 seems not to work 6946 ;) 6943 (looking-at "\\s *}?\\s *\\(\\(els\\(e\\s +\\|\\)\\)?if\\|un\\(less\\|til\\)\\|given\\|wh\\(ile\\|en\\)\\|for\\|loop\\)\\>")))))) 6947 6944 ) 6948 6945 … … 7875 7872 ;; the builtin types: 7876 7873 ;; bit" "int" "str" "num" "ref" "bool" "Bit" "Int" "Str" "Num" "Ref" 7874 ;; Complex Exception Seq Range Set Junction Pair Mapping Signature Capture " 7875 ;; Bag\\|Mapping\\|Blob\\|KeyHash\\|KeySet\\|KeyBag\\|Buf\\|Regex\\|Match\\|Any\\|" 7877 7876 ;; Bool" "Array" "Hash" "IO" "Code" "Routine" "Sub" "Method" "Submethod" 7878 7877 ;; Macro" "Rule" "Block" "Bare" "Parametric" "Package" "Module" "Class" "Role" … … 7881 7880 "bit\\|int\\|str\\|num\\|ref\\|bool\\|Bit\\|Int\\|Str\\|Num\\|Ref\\|" 7882 7881 "Complex\\|Exception\\|Seq\\|Range\\|Set\\|Junction\\|Pair\\|Mapping\\|Signature\\|Capture\\|" 7882 "Bag\\|Mapping\\|Blob\\|KeyHash\\|KeySet\\|KeyBag\\|Buf\\|Regex\\|Match\\|Any\\|" 7883 7883 "Bool\\|Array\\|Hash\\|IO\\|Code\\|Routine\\|Sub\\|Method\\|Submethod\\|" 7884 7884 "Macro\\|Rule\\|Block\\|Bare\\|Parametric\\|Package\\|Module\\|Class\\|Role\\|"
