Basic arithmetic and jump labels
This commit is contained in:
		
							
								
								
									
										16
									
								
								include/execute/state.hpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								include/execute/state.hpp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| #pragma once | ||||
| #include <string> | ||||
| #include <unordered_map> | ||||
|  | ||||
| namespace Execute | ||||
| { | ||||
| 	struct State | ||||
| 	{ | ||||
| 		unsigned currentStatement; | ||||
| 		unsigned nextStatement; | ||||
| 		std::unordered_map<std::string, unsigned> const & labelStatementIndice; | ||||
|  | ||||
|  | ||||
| 		State(std::unordered_map<std::string, unsigned> const & labelStatementIndice); | ||||
| 	}; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user