summaryrefslogtreecommitdiff
path: root/passes/techmap/libparse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/techmap/libparse.cc')
-rw-r--r--passes/techmap/libparse.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/passes/techmap/libparse.cc b/passes/techmap/libparse.cc
index 8f4a1a5f..8cbb8e2b 100644
--- a/passes/techmap/libparse.cc
+++ b/passes/techmap/libparse.cc
@@ -126,6 +126,11 @@ int LibertyParser::lexer(std::string &str)
line++;
}
return lexer(str);
+ } else if (c == '/') {
+ while (c > 0 && c != '\n')
+ c = fgetc(f);
+ line++;
+ return lexer(str);
}
ungetc(c, f);
// fprintf(stderr, "LEX: char >>/<<\n");