Changeset 622
- Timestamp:
- Apr 23, 2008, 5:22:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/File.cc
r610 r622 41 41 #include <iostream> 42 42 #include <map> 43 #include <stdexcept> 43 44 #include <string> 44 45 #include <sys/stat.h> … … 262 263 if (*line_type==LineTypeParser::other) 263 264 os << "line-other"; 264 else if (*line_type==LineTypeParser::comment_or_copy) 265 else if (*line_type==LineTypeParser::comment || 266 *line_type==LineTypeParser::copyright) 265 267 os << "line-comment"; 268 else if (*line_type==LineTypeParser::code) 269 os << "line-code"; 266 270 else 267 os << "line-code";271 throw std::runtime_error("unspected line type found"); 268 272 os << "\">" << blame.line_no()+1 269 273 << "</td>\n<td>";
Note: See TracChangeset
for help on using the changeset viewer.