diff --git a/passes/techmap/libparse.cc b/passes/techmap/libparse.cc index 02408da43..75648716d 100644 --- a/passes/techmap/libparse.cc +++ b/passes/techmap/libparse.cc @@ -319,12 +319,16 @@ LibertyAst *LibertyParser::parse() { case 'n': continue; + case ':': // SILIMATE HACK: eat up the ':' and the next thing too + tok = lexer(arg); + if (tok != 'v') + error("Expecting string after ':'."); + break; case '[': case ']': case '}': case '{': case '\"': - case ':': eReport = "Unexpected '"; eReport += static_cast(tok); eReport += "'.";