Prevent deletion of built-in symbols

This commit is contained in:
ISSOtm
2020-03-10 16:55:50 +01:00
parent 2ea329c920
commit ea0c5581a5
2 changed files with 28 additions and 14 deletions

View File

@@ -32,6 +32,7 @@ struct sSymbol {
enum SymbolType type;
bool isConstant; /* Whether the symbol's value is currently known */
bool isExported; /* Whether the symbol is to be exported */
bool isBuiltin; /* Whether the symbol is a built-in */
struct sSymbol *pScope;
struct sSymbol *pNext;
struct Section *pSection;