#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,
};
/* 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 */
#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