Replace string arrays with const char * and allocated space (part 1)

This commit deals with default_programmer, default_serial, default_parallel
and default_spi. The long term objective is to remove all fixed-size buffers
from the structures that lexer.l and config_gram.y deal with.
This commit is contained in:
Stefan Rueger
2022-08-09 21:45:04 +01:00
parent 22c4dbf23e
commit 7375477f70
5 changed files with 21 additions and 26 deletions

View File

@@ -30,8 +30,6 @@
#endif
#define MAX_STR_CONST 1024
enum { V_NONE, V_NUM, V_NUM_REAL, V_STR };
typedef struct value_t {
int type;