summaryrefslogtreecommitdiff
path: root/lisp/cedet/srecode/semantic.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/srecode/semantic.el')
-rw-r--r--lisp/cedet/srecode/semantic.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/cedet/srecode/semantic.el b/lisp/cedet/srecode/semantic.el
index 827979f786a..877f6796c76 100644
--- a/lisp/cedet/srecode/semantic.el
+++ b/lisp/cedet/srecode/semantic.el
@@ -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)