diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-04-20 20:34:10 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-04-20 20:34:10 +0200 |
commit | f3d6e46ce3762b6f51a166119d3982fd3715507a (patch) | |
tree | 0935fb6da7f1d9728b42ddf08395a0e977e1c228 /src/regenc.h | |
parent | 043fff5b6f2461aeccb1c62cb771826cfe301832 (diff) | |
parent | 73c6133c32cddae59813cbadf655cb50a3a7356a (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/regenc.h')
-rw-r--r-- | src/regenc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/regenc.h b/src/regenc.h index db35841..d183b97 100644 --- a/src/regenc.h +++ b/src/regenc.h @@ -4,7 +4,7 @@ regenc.h - Oniguruma (regular expression library) **********************************************************************/ /*- - * Copyright (c) 2002-2019 K.Kosako + * Copyright (c) 2002-2020 K.Kosako * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -34,7 +34,10 @@ #endif #include "config.h" + +#ifndef ONIG_NO_STANDARD_C_HEADERS #include <stddef.h> +#endif #ifdef ONIG_ESCAPE_UCHAR_COLLISION #undef ONIG_ESCAPE_UCHAR_COLLISION @@ -74,6 +77,8 @@ typedef struct { #define ONIG_CHECK_NULL_RETURN_VAL(p,val) if (ONIG_IS_NULL(p)) return (val) #define MAX_CODE_POINT (~((OnigCodePoint )0)) +#define ASCII_LIMIT 127 +#define NEWLINE_CODE 0x0a #define enclen(enc,p) ONIGENC_MBC_ENC_LEN(enc,p) |