diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-18 11:52:47 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-18 11:52:47 -0800 |
| commit | d12cf8abbd2f3356348e82a20d95e9ba03b8cdf7 (patch) | |
| tree | a67cf974c11c232ca926df606affa19ba6975d0d /types.h | |
| parent | 4acf91f802b8b69721d76f57c305d9ada864f30f (diff) | |
More bools
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ #ifndef TYPES__H #define TYPES__H +#include <stdbool.h> #include <sys/types.h> #include "files.h" @@ -97,7 +98,7 @@ typedef struct match_s { // the replaced text when printing this match: // TODO: this is a bit hacky, there is probably a better way to go about // this but it's less hacky that mutating the match objects more drastically - unsigned int skip_replacement:1; + bool skip_replacement:1; } match_t; // |
