title: Multi-statement Macros in C++
body: <p><strong>In C++</strong>, is it possible to make a <strong>multi-statement macro</strong> with <strong>nested if statements</strong> inside of it like the one below? I've been attempting it for a while now and I'm getting a scope issue for the second if statement not being able to see '<em>symbol</em>'. Maybe I need to understand macros further.</p>
  
  <pre><code>#define MATCH_SYMBOL( symbol, token)
       if(something == symbol){
            if( symbol == '-'){
            }else if (symbol != '-'){
            }
       other steps;
       }
  </code></pre>