Skip to content

Commit 9eb5794

Browse files
committed
Fix compilation errors on Emacs-31
* asm-x86.el (asm-x86--postprocess): * binfile.el (binfile--symbolic-reference-regexp) (binfile--objdump-region-start-regexp): Use `not-newline' RX instead of obsolete `any'.
1 parent dada356 commit 9eb5794

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

asm-x86.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ This returns a string like \"reloc+0x1a\". ADDEND can be nil."
115115
?#
116116
(zero-or-more space)
117117
(group (one-or-more (not space)))
118-
(group (zero-or-more any) eol))
118+
(group (zero-or-more not-newline) eol))
119119
nil t)
120120
(let ((rest (match-string 4)))
121121
(replace-match "\\3(%rip)\\2")

binfile.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ The groups are:
228228
word-boundary
229229
(1+ hex-digit) space
230230
?<
231-
(group (1+ any))
231+
(group (1+ not-newline))
232232
?>
233233
eol)
234234
"Regexp matching a symbolic reference, with hex address before.
@@ -323,7 +323,7 @@ This finds file format by searching for this line:
323323
(group (+ hex-digit)) (* space)
324324

325325
;; Function name
326-
?< (group (* any)) ?> ?:
326+
?< (group (* not-newline)) ?> ?:
327327

328328
eol)
329329
"A regexp matching function beginning in objdump disassembly output.

0 commit comments

Comments
 (0)