Commit 30d0452b authored by Russ Cox's avatar Russ Cox

lib9/utf: make safe for automatic build

Add // +build ignore to mkrunetype.c,
rename runetypebody to be .h since it is #included,
delete old runetypebody tables.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5627043
parent 005686ff
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// +build ignore
/* /*
* make is(upper|lower|title|space|alpha)rune and * make is(upper|lower|title|space|alpha)rune and
* to(upper|lower|title)rune from a UnicodeData.txt file. * to(upper|lower|title)rune from a UnicodeData.txt file.
......
...@@ -35,4 +35,4 @@ rbsearch(Rune c, Rune *t, int n, int ne) ...@@ -35,4 +35,4 @@ rbsearch(Rune c, Rune *t, int n, int ne)
return 0; return 0;
} }
#include "runetypebody-6.0.0.c" #include "runetypebody-6.0.0.h"
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment