diff options
| -rw-r--r-- | frontends/aiger/aigerparse.cc | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/aiger/aigerparse.cc b/frontends/aiger/aigerparse.cc index 65a9e30ae..abc2f4144 100644 --- a/frontends/aiger/aigerparse.cc +++ b/frontends/aiger/aigerparse.cc @@ -379,8 +379,8 @@ void AigerReader::parse_xaiger(const dict<int,IdString> &box_lookup)  	int c = f.get();  	if (c != 'c')  		log_error("Line %u: cannot interpret first character '%c'!\n", line_count, c); -	c = f.get(); -	log_assert(c == '\n'); +	if (f.peek() == '\n') +		f.get();  	// Parse footer (symbol table, comments, etc.)  	std::string s;  | 
