[Groonga-commit] groonga/groonga [master] Revert "[nfkc] removed needless NO_NFKC."

Back to archive index

null+****@clear***** null+****@clear*****
2012年 2月 14日 (火) 13:48:09 JST


Kouhei Sutou	2012-02-14 13:48:09 +0900 (Tue, 14 Feb 2012)

  New Revision: e3289a5573f6f52504f6a4cd40070d838f24514b

  Log:
    Revert "[nfkc] removed needless NO_NFKC."
    
    This reverts commit e437bc502bdf95e7cba178abe9b6d9221b37ff8d.

  Modified files:
    plugins/normalizers/nfkc.rb

  Modified: plugins/normalizers/nfkc.rb (+6 -2)
===================================================================
--- plugins/normalizers/nfkc.rb    2012-02-14 13:47:57 +0900 (1f2f319)
+++ plugins/normalizers/nfkc.rb    2012-02-14 13:48:09 +0900 (ef85c60)
@@ -1,7 +1,7 @@
 #!/usr/bin/env ruby
 # -*- coding: utf-8 -*-
 #
-# Copyright(C) 2010-2012 Brazil
+# Copyright(C) 2010 Brazil
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -329,7 +329,7 @@ end
 
 template = <<END
 /* -*- c-basic-offset: 2 -*- */
-/* Copyright(C) 2010-2012 Brazil
+/* Copyright(C) 2010 Brazil
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
@@ -349,6 +349,8 @@ don't edit this file by hand. it generated automatically by nfkc.rb
 
 #include "nfkc.h"
 
+#ifndef NO_NFKC
+
 unsigned char
 grn_nfkc_ctype(const unsigned char *str)
 {
@@ -367,6 +369,8 @@ grn_nfkc_map2(const unsigned char *prefix, const unsigned char *suffix)
 %  return 0;
 }
 
+#endif /* NO_NFKC */
+
 END
 
 ######## main #######




Groonga-commit メーリングリストの案内
Back to archive index