mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Removed dangling ';' in rtlil.h
This commit is contained in:
		
							parent
							
								
									0793f1b196
								
							
						
					
					
						commit
						6459e3ac39
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -460,7 +460,7 @@ struct RTLIL::Const | ||||||
| 	Const(std::string str); | 	Const(std::string str); | ||||||
| 	Const(int val, int width = 32); | 	Const(int val, int width = 32); | ||||||
| 	Const(RTLIL::State bit, int width = 1); | 	Const(RTLIL::State bit, int width = 1); | ||||||
| 	Const(const std::vector<RTLIL::State> &bits) : bits(bits) { flags = CONST_FLAG_NONE; }; | 	Const(const std::vector<RTLIL::State> &bits) : bits(bits) { flags = CONST_FLAG_NONE; } | ||||||
| 	Const(const std::vector<bool> &bits); | 	Const(const std::vector<bool> &bits); | ||||||
| 
 | 
 | ||||||
| 	bool operator <(const RTLIL::Const &other) const; | 	bool operator <(const RTLIL::Const &other) const; | ||||||
|  | @ -476,7 +476,7 @@ struct RTLIL::Const | ||||||
| 
 | 
 | ||||||
| 	inline int size() const { return bits.size(); } | 	inline int size() const { return bits.size(); } | ||||||
| 	inline RTLIL::State &operator[](int index) { return bits.at(index); } | 	inline RTLIL::State &operator[](int index) { return bits.at(index); } | ||||||
| 	inline const RTLIL::State &operator[](int index) const { return bits.at(index); }; | 	inline const RTLIL::State &operator[](int index) const { return bits.at(index); } | ||||||
| 
 | 
 | ||||||
| 	inline RTLIL::Const extract(int offset, int len = 1, RTLIL::State padding = RTLIL::State::S0) const { | 	inline RTLIL::Const extract(int offset, int len = 1, RTLIL::State padding = RTLIL::State::S0) const { | ||||||
| 		RTLIL::Const ret; | 		RTLIL::Const ret; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue