mirror of https://github.com/KLayout/klayout.git
[Consider merging] method name parser exception for *= method (not seen as protected '=')
This commit is contained in:
parent
38d2b8378d
commit
0b0e440781
|
|
@ -85,7 +85,7 @@ void MethodBase::parse_name (const std::string &name)
|
||||||
{
|
{
|
||||||
const char *n = name.c_str ();
|
const char *n = name.c_str ();
|
||||||
|
|
||||||
if (*n == '*' && n[1]) {
|
if (*n == '*' && n[1] && n[1] != '*' && n[1] != '=') {
|
||||||
m_protected = true;
|
m_protected = true;
|
||||||
++n;
|
++n;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue