Browse files

Handle missing "type" elements in the XML catalog

  • Loading branch information...
1 parent 3932828 commit ed971097c254734ab86a41af620190c989edbc45 @jdtsmith committed Jan 7, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 idlwave.el
View
3 idlwave.el
@@ -4760,7 +4760,8 @@ Gets set in cached XML rinfo, or `idlw-rinfo.el'.")
(aref syntax-vec (cond
((string-match "^pro" type) 0)
((string-match "^fun" type) 1)
- ((string-match "^exec" type) 2)))))
+ ((string-match "^exec" type) 2)
+ (t 0)))))
((eq ptype 'KEYWORD)
(setq kwd (cdr (assq 'name props))
klink (cdr (assq 'link props)))

0 comments on commit ed97109

Please sign in to comment.