| 1071 | } |
| 1072 | |
| 1073 | bool ParserState::GetPragma( const FileLocation& location, InlineString& string ) |
| 1074 | { |
| 1075 | for( auto it = m_pragmas.begin(); it != m_pragmas.end(); ++it ) |
| 1076 | { |
| 1077 | if( !it->used && it->location.fileName == location.fileName && it->location.lineNumber <= location.lineNumber ) |
| 1078 | { |
| 1079 | string = it->pragma; |
| 1080 | it->used = true; |
| 1081 | return true; |
| 1082 | } |
| 1083 | } |
| 1084 | return false; |
| 1085 | } |
| 1086 | |
| 1087 | const std::set<Symbol*>& ParserState::GetDX9TextureFunctions() |
| 1088 | { |
no test coverage detected