From: Michael D. Lowis Date: Thu, 20 Dec 2018 14:42:23 +0000 (-0500) Subject: tabs to spaces X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=b9ca15ecd00f746503129c4dec2a9b8ac721a6b4;p=proto%2Flibregexp.git tabs to spaces --- diff --git a/regcomp.h b/regcomp.h index 88bda59..c0fb88c 100644 --- 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 b2fa3a0..ad9693f 100644 --- 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