summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-01-03 19:42:58 -0800
committerOri Bernstein <ori@eigenstate.org>2015-01-03 19:42:58 -0800
commit769c1e76b0af199cf5a8d3336de9f3f642f1b688 (patch)
treee96b766470866f8702060aa70df71ba040d61cfa
parentc8eee8370472c7cd2ce59e93f7ebb4aa0e2e975e (diff)
downloadlibregex-769c1e76b0af199cf5a8d3336de9f3f642f1b688.tar.gz
Add 'gen' command for generating unicode ranges.
-rw-r--r--bldfile2
-rw-r--r--ranges.myr2
2 files changed, 3 insertions, 1 deletions
diff --git a/bldfile b/bldfile
index cf87382..58ca931 100644
--- a/bldfile
+++ b/bldfile
@@ -4,3 +4,5 @@ lib regex =
ranges.myr
types.myr
;;
+
+gen ranges.myr = mkchartab -a -p_ranges UnicodeData.txt -o ranges.myr;;
diff --git a/ranges.myr b/ranges.myr
index aa3265b..3efae43 100644
--- a/ranges.myr
+++ b/ranges.myr
@@ -1,7 +1,7 @@
/*
This set of unicode tables was automatically generated
by the following command:
- ./mkchartab -a -p_ranges UnicodeData.txt
+ mkchartab -a -p_ranges UnicodeData.txt -o ranges.myr
editing it manually is probably a waste of time.
*/