$ORIGIN
This commit is contained in:
parent
54fac15bb0
commit
ec69d5aced
3
zscan.go
3
zscan.go
|
@ -313,10 +313,11 @@ func zlexer(s scanner.Scanner, c chan lex) {
|
||||||
// If we have a string and its the first, make it an owner
|
// If we have a string and its the first, make it an owner
|
||||||
l.value = _OWNER
|
l.value = _OWNER
|
||||||
l.token = str
|
l.token = str
|
||||||
if str[0] == '$' {
|
|
||||||
if str == "$TTL" {
|
if str == "$TTL" {
|
||||||
l.value = _DIRTTL
|
l.value = _DIRTTL
|
||||||
}
|
}
|
||||||
|
if str == "$ORIGIN" {
|
||||||
|
l.value = _DIRORIGIN
|
||||||
}
|
}
|
||||||
c <- l
|
c <- l
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue