blog-static/code/compiler/09/binop.hpp

13 lines
156 B
C++
Raw Permalink Normal View History

#pragma once
#include <string>
enum binop {
PLUS,
MINUS,
TIMES,
DIVIDE
};
std::string op_name(binop op);
std::string op_action(binop op);