]> git.mdlowis.com Git - proto/libregexp.git/commitdiff
tabs to spaces
authorMichael D. Lowis <mike.lowis@gentex.com>
Thu, 20 Dec 2018 14:42:23 +0000 (09:42 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Thu, 20 Dec 2018 14:42:23 +0000 (09:42 -0500)
regcomp.h
utf.h

index 88bda599567a42416167fcca89898475b03fcd0a..c0fb88cddc4afe89091742edae2c7d67730f1660 100644 (file)
--- a/regcomp.h
+++ b/regcomp.h
@@ -6,14 +6,14 @@
 #define NSUBEXP 32
 
 typedef struct {
-       Resub   m[NSUBEXP];
+    Resub    m[NSUBEXP];
 } Resublist;
 
 /*
  * Actions and Tokens (Reinst types)
  *
- *     02xx are operators, value == precedence
- *     03xx are tokens, i.e. operands for operators
+ *    02xx are operators, value == precedence
+ *    03xx are tokens, i.e. operands for operators
  */
 enum {
     RUNE     = 0177,
@@ -54,8 +54,8 @@ enum {
 };
 
 /* regexec execution lists */
-#define LISTSIZE       10
-#define BIGLISTSIZE    (25*LISTSIZE)
+#define LISTSIZE    10
+#define BIGLISTSIZE    (25*LISTSIZE)
 
 typedef struct {
     Reinst* inst; /* Reinstruction of the thread */
diff --git a/utf.h b/utf.h
index b2fa3a09dccfdf974e138d8482dc52652f88e71c..ad9693f5ceb220cacc9726cf07dae7c5e3d4b792 100644 (file)
--- a/utf.h
+++ b/utf.h
@@ -2,15 +2,15 @@
 #define _UTF_H_ 1
 
 enum {
-       UTFmax          = 4,            /* maximum bytes per rune */
-       intsync = 0x80,         /* cannot represent part of a UTF sequence (<) */
-       intself = 0x80,         /* rune and UTF sequences are the same (<) */
-       interror        = 0xFFFD,       /* decoding error in UTF */
-       intmax          = 0x10FFFF      /* maximum rune value */
+    UTFmax        = 4,        /* maximum bytes per rune */
+    intsync    = 0x80,        /* cannot represent part of a UTF sequence (<) */
+    intself    = 0x80,        /* rune and UTF sequences are the same (<) */
+    interror    = 0xFFFD,    /* decoding error in UTF */
+    intmax        = 0x10FFFF    /* maximum rune value */
 };
 
-int    chartorune(int *rune, char *str);
-int*   runestrchr(int *s, int c);
-char*  utfrune(char *s, int c);
+int    chartorune(int *rune, char *str);
+int*    runestrchr(int *s, int c);
+char*    utfrune(char *s, int c);
 
 #endif