diff options
| author | Clifford Wolf <clifford@clifford.at> | 2018-11-04 10:19:32 +0100 | 
|---|---|---|
| committer | Clifford Wolf <clifford@clifford.at> | 2018-11-04 10:19:32 +0100 | 
| commit | 64e0582c292ca1f3a64c01d9a1faa96ef2f74588 (patch) | |
| tree | 779441416346809d8819b8dde01e7547ae6dd499 /frontends/ast/ast.cc | |
| parent | 68304c6d176e396e068cbe3ac2800ac75091143c (diff) | |
| download | yosys-64e0582c292ca1f3a64c01d9a1faa96ef2f74588.tar.gz yosys-64e0582c292ca1f3a64c01d9a1faa96ef2f74588.tar.bz2 yosys-64e0582c292ca1f3a64c01d9a1faa96ef2f74588.zip | |
Various indenting fixes in AST front-end (mostly space vs tab issues)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontends/ast/ast.cc')
| -rw-r--r-- | frontends/ast/ast.cc | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/frontends/ast/ast.cc b/frontends/ast/ast.cc index cc275959a..2c1561552 100644 --- a/frontends/ast/ast.cc +++ b/frontends/ast/ast.cc @@ -172,8 +172,7 @@ bool AstNode::get_bool_attribute(RTLIL::IdString id)  	AstNode *attr = attributes.at(id);  	if (attr->type != AST_CONSTANT) -		log_file_error(attr->filename, attr->linenum, "Attribute `%s' with non-constant value!\n", -			       id.c_str()); +		log_file_error(attr->filename, attr->linenum, "Attribute `%s' with non-constant value!\n", id.c_str());  	return attr->integer != 0;  } @@ -969,8 +968,7 @@ static AstModule* process_module(AstNode *ast, bool defer, AstNode *original_ast  		for (auto &attr : ast->attributes) {  			if (attr.second->type != AST_CONSTANT) -				log_file_error(ast->filename, ast->linenum, "Attribute `%s' with non-constant value!\n", -					       attr.first.c_str()); +				log_file_error(ast->filename, ast->linenum, "Attribute `%s' with non-constant value!\n", attr.first.c_str());  			current_module->attributes[attr.first] = attr.second->asAttrConst();  		}  		for (size_t i = 0; i < ast->children.size(); i++) { @@ -1061,8 +1059,7 @@ void AST::process(RTLIL::Design *design, AstNode *ast, bool dump_ast1, bool dump  			if (design->has((*it)->str)) {  				RTLIL::Module *existing_mod = design->module((*it)->str);  				if (!nooverwrite && !overwrite && !existing_mod->get_bool_attribute("\\blackbox")) { -					log_file_error((*it)->filename, (*it)->linenum, "Re-definition of module `%s'!\n", -						       (*it)->str.c_str()); +					log_file_error((*it)->filename, (*it)->linenum, "Re-definition of module `%s'!\n", (*it)->str.c_str());  				} else if (nooverwrite) {  					log("Ignoring re-definition of module `%s' at %s:%d.\n",  							(*it)->str.c_str(), (*it)->filename.c_str(), (*it)->linenum); | 
