Is #663 - Reduce static alloc to as required

This commit is contained in:
Geoff McLane 2017-12-25 18:10:29 +01:00
parent ccde058772
commit 28be79db50

View file

@ -22,13 +22,13 @@
/** /**
* This structure type provides universal access to all of Tidy's strings. * This structure type provides universal access to all of Tidy's strings.
* Note arbitrary limit of 256, to be changed if more... * Note limit of 8, to be changed as more added...
*/ */
typedef struct { typedef struct {
Bool manually_set; Bool manually_set;
languageDefinition *currentLanguage; languageDefinition *currentLanguage;
languageDefinition *fallbackLanguage; languageDefinition *fallbackLanguage;
languageDefinition *languages[256]; languageDefinition *languages[8];
} tidyLanguagesType; } tidyLanguagesType;