aboutsummaryrefslogtreecommitdiffstats
path: root/3rdparty/python-console/ParseHelper.cpp
diff options
context:
space:
mode:
authorGary Wong <gtw@gnu.org>2020-04-05 21:35:21 -0600
committerGary Wong <gtw@gnu.org>2020-04-05 21:42:45 -0600
commitec1eea9990152608c32614655ff315222fa11201 (patch)
treef9258de91b83e15a657667c8e1f76918f601ea40 /3rdparty/python-console/ParseHelper.cpp
parentf9a76c56f7c9c2b894bfc3e115ca0aa89daf9466 (diff)
downloadnextpnr-ec1eea9990152608c32614655ff315222fa11201.tar.gz
nextpnr-ec1eea9990152608c32614655ff315222fa11201.tar.bz2
nextpnr-ec1eea9990152608c32614655ff315222fa11201.zip
Fix assertion failure on invalid LOCATE input.
Trying to parse this invalid LPF syntax: LOCATE COMP "a" SITE "A1" IOBUF PORT "a" IO_TYPE=LVCMOS33; (note missing semicolon on first line) gives an assertion failure in strip_quotes, because the fifth token is scanned as "A1"IOBUF (without a trailing quote). Avoid the problem by detecting extraneous input and issuing a more specific error.
Diffstat (limited to '3rdparty/python-console/ParseHelper.cpp')
0 files changed, 0 insertions, 0 deletions