]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/srecode/semantic.el
Update copyright year to 2015
[gnu-emacs] / lisp / cedet / srecode / semantic.el
index 956bdfbd97a07ccb9c6edb18caff0fd40d923a90..2313fa73b7337b57f483276b1158e31868ffff33 100644 (file)
@@ -1,6 +1,6 @@
 ;;; srecode/semantic.el --- Semantic specific extensions to SRecode.
 
-;; Copyright (C) 2007-2011 Free Software Foundation, Inc.
+;; Copyright (C) 2007-2015 Free Software Foundation, Inc.
 
 ;; Author: Eric M. Ludlam <eric@siege-engine.com>
 
@@ -351,6 +351,12 @@ as `function' will leave point where code might be inserted."
           (setq temp (srecode-semantic-find-template
                       "variable-const" prototype ctxt))
           )
+
+         ((and (semantic-tag-of-class-p tag 'include)
+               (semantic-tag-get-attribute tag :system-flag))
+          (setq temp (srecode-semantic-find-template
+                      "system-include" prototype ctxt))
+          )
          )
 
     (when (not temp)