-
Notifications
You must be signed in to change notification settings - Fork 220
fix def syntax error in testdata/lefdef/viasize2/test.def #1433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is this really a KLayout error? This message ("DEFPARS-5500") is not mine. Matthias |
The syntax error is from the openroad def 5.8 si2 parser.
Klayout wrongfully reads it without any errors.
openroad -gui test.or
|
You're right, the DEF sample was kind of nonsense and this error can be captured. In general however, the DEF parser is sloppy (means: not always based on a formal syntax) and will accept some invalid DEF files without error. Accepting stray "+" is one example. In other cases I simply skip sections. Hope is that this way newly introduced keywords will not make the reader fail automatically. Matthias |
Fixed #1433 (def syntax error not captured)
The text was updated successfully, but these errors were encountered: