[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 6fc0397: Work around reader limitations for old-sty
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master 6fc0397: Work around reader limitations for old-style backquotes. |
Date: |
Sat, 9 Dec 2017 15:15:35 -0500 (EST) |
branch: master
commit 6fc0397388c9e03a631806667570959a49b49763
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
Work around reader limitations for old-style backquotes.
See Bug#28759.
* admin/grammars/make.by: Escape ,@ to avoid old-style backquote
detection
---
admin/grammars/make.by | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/admin/grammars/make.by b/admin/grammars/make.by
index d3a03ea..4d02918 100644
--- a/admin/grammars/make.by
+++ b/admin/grammars/make.by
@@ -54,15 +54,20 @@
%%
+;; Escape the ,@ below because the reader doesn't correctly detect
+;; old-style backquotes for this case. The backslashes can be removed
+;; once old-style backquotes are completely gone (probably in
+;; Emacs 28).
+
Makefile : bol newline (nil)
| bol variable
- ( ,@$2 )
+ ( \,@$2 )
| bol rule
- ( ,@$2 )
+ ( \,@$2 )
| bol conditional
- ( ,@$2 )
+ ( \,@$2 )
| bol include
- ( ,@$2 )
+ ( \,@$2 )
| whitespace ( nil )
| newline ( nil )
;
@@ -125,13 +130,13 @@ colons: COLON COLON ()
;
element-list: elements newline
- ( ,@$1 )
+ ( \,@$1 )
;
elements: element some-whitespace elements
- ( ,@$1 ,@$3 )
+ ( \,@$1 ,@$3 )
| element
- ( ,@$1 )
+ ( \,@$1 )
| ;;EMPTY
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 6fc0397: Work around reader limitations for old-style backquotes.,
Philipp Stephani <=