diff options
| author | David Engster | 2013-03-22 20:31:15 +0100 |
|---|---|---|
| committer | David Engster | 2013-03-22 20:31:15 +0100 |
| commit | b886708cc640958efcf6bd68ed1674af124a2565 (patch) | |
| tree | 44c10edd72de972c7150c6df3a350f9486795d69 /lisp/cedet/srecode/cpp.el | |
| parent | 9bb0d8227e104a549232b78197e0e8ca2d20371c (diff) | |
| parent | e8cc7880c3eead07c1d4fd93c0396edc3861b080 (diff) | |
| download | emacs-b886708cc640958efcf6bd68ed1674af124a2565.tar.gz emacs-b886708cc640958efcf6bd68ed1674af124a2565.zip | |
Merge with CEDET upstream (rev. 8499).
Diffstat (limited to 'lisp/cedet/srecode/cpp.el')
| -rw-r--r-- | lisp/cedet/srecode/cpp.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/cedet/srecode/cpp.el b/lisp/cedet/srecode/cpp.el index 94b394a1631..fd500b6d9a3 100644 --- a/lisp/cedet/srecode/cpp.el +++ b/lisp/cedet/srecode/cpp.el | |||
| @@ -70,8 +70,7 @@ HEADER - Shown section if in a header file." | |||
| 70 | (srecode-dictionary-show-section dict "NOTHEADER")) | 70 | (srecode-dictionary-show-section dict "NOTHEADER")) |
| 71 | 71 | ||
| 72 | ;; Strip out bad characters | 72 | ;; Strip out bad characters |
| 73 | (while (string-match "\\.\\| " fsym) | 73 | (setq fsym (replace-regexp-in-string "[^a-zA-Z0-9_]" "_" fsym)) |
| 74 | (setq fsym (replace-match "_" t t fsym))) | ||
| 75 | (srecode-dictionary-set-value dict "FILENAME_SYMBOL" fsym) | 74 | (srecode-dictionary-set-value dict "FILENAME_SYMBOL" fsym) |
| 76 | ) | 75 | ) |
| 77 | ) | 76 | ) |