mirror of
https://github.com/Luzifer/sii.git
synced 2024-10-18 05:14:19 +00:00
ATS uses inline comments with '//' as separator
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
4231f1d922
commit
16d973c7b0
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
singleLineValue = `^\s*%s\s?:\s?([^#]+)(?:$|#)`
|
||||
arrayLineValue = `^\s*%s(\[([0-9]*)\])?\s?:\s?([^#]+)(?:$|#)`
|
||||
singleLineValue = `^\s*%s\s?:\s?([^#]+?)(?:$|#|//)`
|
||||
arrayLineValue = `^\s*%s(\[([0-9]*)\])?\s?:\s?([^#]+?)(?:$|#|//)`
|
||||
)
|
||||
|
||||
func genericUnmarshal(in []byte, out interface{}, unit *Unit) error {
|
||||
|
|
Loading…
Reference in a new issue