mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +00:00
Fix emoji-induced build breakage
* admin/unidata/blocks.awk: Cater for out-of-tree builds, match the name of the file using regexp rather than exact match.
This commit is contained in:
parent
aa59d38c59
commit
6f2068fcb1
@ -131,7 +131,7 @@ function name2alias(name , w, w2) {
|
||||
return name
|
||||
}
|
||||
|
||||
FILENAME == "Blocks.txt" && /^[0-9A-F]/ {
|
||||
FILENAME ~ "Blocks.txt" && /^[0-9A-F]/ {
|
||||
sep = index($1, "..")
|
||||
len = length($1)
|
||||
s = substr($1,1,sep-1)
|
||||
@ -204,10 +204,10 @@ FILENAME == "Blocks.txt" && /^[0-9A-F]/ {
|
||||
|
||||
# The space after 'Emoji' is significant in the next two rules.
|
||||
# This purposely and deliberately excludes codepoints <= 00FF
|
||||
FILENAME == "emoji-data.txt" && /^00[0-9A-F]{2}.*; Emoji / {
|
||||
FILENAME ~ "emoji-data.txt" && /^00[0-9A-F]{2}.*; Emoji / {
|
||||
next
|
||||
}
|
||||
FILENAME == "emoji-data.txt" && /^[0-9A-F].*; Emoji / {
|
||||
FILENAME ~ "emoji-data.txt" && /^[0-9A-F].*; Emoji / {
|
||||
sep = index($1, "..")
|
||||
len = length($1)
|
||||
if (sep > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user