| 10 | bool NewCommandMacro::_errIfConflict = true; |
| 11 | |
| 12 | bool NewCommandMacro::isMacro(const wstring& name) { |
| 13 | auto it = _macrocode.find(name); |
| 14 | return (it != _macrocode.end()); |
| 15 | } |
| 16 | |
| 17 | void NewCommandMacro::checkNew(const wstring& name) throw(ex_parse) { |
| 18 | if (_errIfConflict && isMacro(name)) throw ex_parse( |
nothing calls this directly
no outgoing calls
no test coverage detected