1882 |
delete globalRealMemory; |
delete globalRealMemory; |
1883 |
globalRealMemory = NULL; |
globalRealMemory = NULL; |
1884 |
} |
} |
1885 |
|
for (void* data : vAutoFreeAfterParse) |
1886 |
|
free(data); |
1887 |
|
vAutoFreeAfterParse.clear(); |
1888 |
} |
} |
1889 |
|
|
1890 |
void ParserContext::addErr(int firstLine, int lastLine, int firstColumn, |
void ParserContext::addErr(int firstLine, int lastLine, int firstColumn, |
1954 |
return userPreprocessorConditions.count(name); |
return userPreprocessorConditions.count(name); |
1955 |
} |
} |
1956 |
|
|
1957 |
|
void ParserContext::autoFreeAfterParse(void* data) { |
1958 |
|
vAutoFreeAfterParse.push_back(data); |
1959 |
|
} |
1960 |
|
|
1961 |
std::vector<ParserIssue> ParserContext::issues() const { |
std::vector<ParserIssue> ParserContext::issues() const { |
1962 |
return vIssues; |
return vIssues; |
1963 |
} |
} |