qss-qasm needs to do more Semantic Analysis on the generated AST. The Lexer (flex) and the Parser (bison) already do quite a bit of Semantic Analysis, but we do need more in a separate pass on the initial AST.