comment
This commit is contained in:
parent
2997a6ef59
commit
e504aca6d0
1 changed files with 2 additions and 0 deletions
|
|
@ -179,6 +179,8 @@ func (c *compiler) compileLink(refctx *RefContext) {
|
||||||
// Resolve underscores
|
// Resolve underscores
|
||||||
for len(linkIDA) > 0 && linkIDA[0] == "_" {
|
for len(linkIDA) > 0 && linkIDA[0] == "_" {
|
||||||
if len(scopeIDA) < 2 {
|
if len(scopeIDA) < 2 {
|
||||||
|
// IR compiler only validates bad underscore usage
|
||||||
|
// The compiler will validate if the target board actually exists
|
||||||
c.errorf(refctx.Key.Key, "linked board not found")
|
c.errorf(refctx.Key.Key, "linked board not found")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue