diff options
Diffstat (limited to 'lisp/progmodes/ld-script.el')
| -rw-r--r-- | lisp/progmodes/ld-script.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el index 34d1525bbab..ffb425ee1e9 100644 --- a/lisp/progmodes/ld-script.el +++ b/lisp/progmodes/ld-script.el | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | (modify-syntax-entry ?\) ")(" st) | 48 | (modify-syntax-entry ?\) ")(" st) |
| 49 | (modify-syntax-entry ?\[ "(]" st) | 49 | (modify-syntax-entry ?\[ "(]" st) |
| 50 | (modify-syntax-entry ?\] ")[" st) | 50 | (modify-syntax-entry ?\] ")[" st) |
| 51 | (modify-syntax-entry ?_ "w" st) | 51 | (modify-syntax-entry ?_ "_" st) |
| 52 | (modify-syntax-entry ?. "_" st) | 52 | (modify-syntax-entry ?. "_" st) |
| 53 | (modify-syntax-entry ?\\ "\\" st) | 53 | (modify-syntax-entry ?\\ "\\" st) |
| 54 | (modify-syntax-entry ?: "." st) | 54 | (modify-syntax-entry ?: "." st) |
| @@ -154,10 +154,10 @@ | |||
| 154 | 154 | ||
| 155 | (defvar ld-script-font-lock-keywords | 155 | (defvar ld-script-font-lock-keywords |
| 156 | (append | 156 | (append |
| 157 | `((,(regexp-opt ld-script-keywords 'words) | 157 | `((,(concat "\\_<" (regexp-opt ld-script-keywords) "\\_>") |
| 158 | 1 font-lock-keyword-face) | 158 | 0 font-lock-keyword-face) |
| 159 | (,(regexp-opt ld-script-builtins 'words) | 159 | (,(concat "\\_<" (regexp-opt ld-script-builtins) "\\_>") |
| 160 | 1 font-lock-builtin-face) | 160 | 0 font-lock-builtin-face) |
| 161 | ;; 3.6.7 Output Section Discarding | 161 | ;; 3.6.7 Output Section Discarding |
| 162 | ;; 3.6.4.1 Input Section Basics | 162 | ;; 3.6.4.1 Input Section Basics |
| 163 | ;; 3.6.8.7 Output Section Phdr | 163 | ;; 3.6.8.7 Output Section Phdr |