1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

Work around reader limitations for old-style backquotes.

See Bug#28759.

* admin/grammars/make.by: Escape ,@ to avoid old-style backquote
detection
This commit is contained in:
Philipp Stephani 2017-10-15 21:32:17 +02:00
parent 0ffd3dbce7
commit 6fc0397388

View File

@ -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
;