diff options
Diffstat (limited to 'src/sp_config_scanner.h')
| -rw-r--r-- | src/sp_config_scanner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_config_scanner.h b/src/sp_config_scanner.h index 71f8f7e..560ea6e 100644 --- a/src/sp_config_scanner.h +++ b/src/sp_config_scanner.h | |||
| @@ -10,9 +10,9 @@ typedef enum { | |||
| 10 | } sp_argtype; | 10 | } sp_argtype; |
| 11 | 11 | ||
| 12 | typedef struct { | 12 | typedef struct { |
| 13 | char *kw; // keyword points directly to the parsed input text and as such is not null-terminated | 13 | const char *kw; // keyword points directly to the parsed input text and as such is not null-terminated |
| 14 | size_t kwlen; | 14 | size_t kwlen; |
| 15 | char *arg; // optional argument / can be not null terminated | 15 | const char *arg; // optional argument / can be not null terminated |
| 16 | size_t arglen; | 16 | size_t arglen; |
| 17 | sp_argtype argtype; | 17 | sp_argtype argtype; |
| 18 | long lineno; | 18 | long lineno; |
