Properly allow arbitrary ordering of macros and stages in the stages block
This commit is contained in:
parent
c23b088de1
commit
84fd6bcba7
2
Otto.g4
2
Otto.g4
|
@ -118,7 +118,7 @@ pipeline_block
|
|||
;
|
||||
|
||||
stages_block
|
||||
: STAGES BEGIN stages+ macro* END
|
||||
: STAGES BEGIN (macro? stages macro?)+ END
|
||||
;
|
||||
stages
|
||||
: STAGE BEGIN stageStatements* END
|
||||
|
|
|
@ -12,7 +12,6 @@ use {
|
|||
|
||||
pipeline {
|
||||
stages {
|
||||
|
||||
stage {
|
||||
name = 'Build'
|
||||
|
||||
|
|
Loading…
Reference in New Issue