summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-12-21 13:48:35 +0100
committerJörg Frings-Fürst <debian@jff.email>2018-12-21 13:48:35 +0100
commit70de057dbb5ea79536834e156f534279347f96f3 (patch)
treee7fc439a3c893ffe8358d3d0c26a112d4b4cf89d /sample
parentc9b3c26db59d89e320a6eb86d9558051ecba0900 (diff)
New upstream version 6.9.1upstream/6.9.1
Diffstat (limited to 'sample')
-rw-r--r--sample/.gitignore14
-rw-r--r--sample/CMakeLists.txt2
-rw-r--r--sample/crnl.c2
-rw-r--r--sample/listcap.c2
4 files changed, 2 insertions, 18 deletions
diff --git a/sample/.gitignore b/sample/.gitignore
deleted file mode 100644
index b6b591b..0000000
--- a/sample/.gitignore
+++ /dev/null
@@ -1,14 +0,0 @@
-/crnl
-/encode
-/listcap
-/names
-/posix
-/simple
-/sql
-/syntax
-/user_property
-/callout
-/echo
-/count
-/bug_fix
-/log*
diff --git a/sample/CMakeLists.txt b/sample/CMakeLists.txt
index 58d6a99..c0bd057 100644
--- a/sample/CMakeLists.txt
+++ b/sample/CMakeLists.txt
@@ -1,4 +1,3 @@
-
cmake_minimum_required(VERSION 2.8)
project(oniguruma_sample C)
@@ -34,4 +33,3 @@ target_link_libraries(sql onig)
add_executable(syntax syntax.c)
target_link_libraries(syntax onig)
-
diff --git a/sample/crnl.c b/sample/crnl.c
index 3f511e9..ee6a516 100644
--- a/sample/crnl.c
+++ b/sample/crnl.c
@@ -2,7 +2,7 @@
* crnl.c 2007/05/30 K.Kosako
*
* !!! You should enable USE_CRNL_AS_LINE_TERMINATOR. !!!
- *
+ *
* USE_CRNL_AS_LINE_TERMINATOR config test program.
*/
#include <stdio.h>
diff --git a/sample/listcap.c b/sample/listcap.c
index 6f9880c..8598d6a 100644
--- a/sample/listcap.c
+++ b/sample/listcap.c
@@ -98,7 +98,7 @@ extern int main(int argc, char* argv[])
/* enable capture hostory */
onig_copy_syntax(&syn, ONIG_SYNTAX_DEFAULT);
- onig_set_syntax_op2(&syn,
+ onig_set_syntax_op2(&syn,
onig_get_syntax_op2(&syn) | ONIG_SYN_OP2_ATMARK_CAPTURE_HISTORY);
r = ex(str1, pattern1, &syn);