]> granicus.if.org Git - onig/commitdiff
refactoring
authorK.Kosako <kosako@sofnec.co.jp>
Fri, 12 Jan 2018 04:25:44 +0000 (13:25 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Fri, 12 Jan 2018 04:25:44 +0000 (13:25 +0900)
src/regcomp.c
src/regint.h

index 25528cc1e51fee894c4bc8a5313b3c3e9efc971c..33c186aba3c5cc1bfa5efea0f78dfe24a0204401 100644 (file)
@@ -6309,7 +6309,7 @@ onig_is_code_in_cc(OnigEncoding enc, OnigCodePoint code, CClassNode* cc)
 #define ARG_STATE_CHECK  6
 #define ARG_MODE         7
 
-OnigOpInfoType OnigOpInfo[] = {
+OpInfoType OnigOpInfo[] = {
   { OP_FINISH,            "finish",          ARG_NON },
   { OP_END,               "end",             ARG_NON },
   { OP_EXACT1,            "exact1",          ARG_SPECIAL },
index 60287c2f40b1b7c6e3032e3dc501ebd5928c1f45..a31d95e439df77d75272646ac46bee8b039bc3f8 100644 (file)
@@ -766,9 +766,9 @@ typedef struct {
   short int opcode;
   char*     name;
   short int arg_type;
-} OnigOpInfoType;
+} OpInfoType;
 
-extern OnigOpInfoType OnigOpInfo[];
+extern OpInfoType OnigOpInfo[];
 
 
 extern void onig_print_compiled_byte_code P_((FILE* f, UChar* bp, UChar** nextp, UChar* start, OnigEncoding enc));