| 1047 | } |
| 1048 | |
| 1049 | void ParserState::AddPragma( const InlineString& string ) |
| 1050 | { |
| 1051 | Pragma pragma; |
| 1052 | pragma.pragma = string; |
| 1053 | pragma.location = GetCurrentLocation(); |
| 1054 | pragma.used = false; |
| 1055 | if( !m_inDiscoverMode ) |
| 1056 | { |
| 1057 | if( IsPermutationPragma( ToString( pragma.pragma ) ) ) |
| 1058 | { |
| 1059 | return; |
| 1060 | } |
| 1061 | } |
| 1062 | m_pragmas.push_back( pragma ); |
| 1063 | } |
| 1064 | |
| 1065 | void ParserState::ResetPragmaUsage() |
| 1066 | { |
nothing calls this directly
no test coverage detected