| 156 | } |
| 157 | |
| 158 | inline Symbol* AddFunction( SymbolTable& table, const char* name, IntrinsicType intrinsicType ) |
| 159 | { |
| 160 | InlineString str; |
| 161 | str.start = name; |
| 162 | str.end = name + strlen( name ); |
| 163 | Symbol* symbol = table.AddSymbol( MakeInlineString( name ), ALLOW_OVERRIDES ); |
| 164 | symbol->isFunction = true; |
| 165 | symbol->intrinsicType = intrinsicType; |
| 166 | return symbol; |
| 167 | } |
| 168 | |
| 169 | inline Symbol* AddConstant( SymbolTable& table, const char* name, int opType ) |
| 170 | { |
no test coverage detected