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

13 lines
156 B
C++
Raw 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);