Add at 'X' attribute to indicate rules that are not to be run concurrently with anything
This commit is contained in:
parent
782a73e0d9
commit
1eb840af57
3 changed files with 57 additions and 14 deletions
2
parse.go
2
parse.go
|
|
@ -328,7 +328,7 @@ func parseRecipe(p *parser, t token) parserStateFun {
|
|||
patstr := fmt.Sprintf("^%s(.*)%s$", left, right)
|
||||
rpat, err := regexp.Compile(patstr)
|
||||
if err != nil {
|
||||
msg := fmt.Sprintf("error compiling suffix rule. This is a bug.", err)
|
||||
msg := fmt.Sprintf("error compiling suffix rule. This is a bug. Error: %s", err)
|
||||
p.basicErrorAtToken(msg, p.tokenbuf[k])
|
||||
}
|
||||
r.targets[len(r.targets)-1].rpat = rpat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue