Skip to content

Commit

Permalink
Fix for FillTimeAtom and FillTimeAtomComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
vpinna80 authored Oct 7, 2024
1 parent 1b6a4e7 commit 54b6530
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions v2.1/src/main/antlr4/org/sdmx/vtl/Vtl.g4
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ comparisonOperatorsComponent:

timeOperators:
PERIOD_INDICATOR LPAREN expr? RPAREN # periodAtom
| FILL_TIME_SERIES LPAREN expr (COMMA (SINGLE|ALL))? RPAREN # fillTimeAtom
| FILL_TIME_SERIES LPAREN expr (COMMA op=(SINGLE|ALL))? RPAREN # fillTimeAtom
| op=(FLOW_TO_STOCK | STOCK_TO_FLOW) LPAREN expr RPAREN # flowAtom
| TIMESHIFT LPAREN expr COMMA signedInteger RPAREN # timeShiftAtom
| TIME_AGG LPAREN periodIndTo=STRING_CONSTANT (COMMA periodIndFrom=(STRING_CONSTANT| OPTIONAL ))? (COMMA op=optionalExpr)? (COMMA (FIRST|LAST))? RPAREN # timeAggAtom
Expand All @@ -227,7 +227,7 @@ timeOperators:

timeOperatorsComponent:
PERIOD_INDICATOR LPAREN exprComponent? RPAREN # periodAtomComponent
| FILL_TIME_SERIES LPAREN exprComponent (COMMA (SINGLE|ALL))? RPAREN # fillTimeAtomComponent
| FILL_TIME_SERIES LPAREN exprComponent (COMMA op=(SINGLE|ALL))? RPAREN # fillTimeAtomComponent
| op=(FLOW_TO_STOCK | STOCK_TO_FLOW) LPAREN exprComponent RPAREN # flowAtomComponent
| TIMESHIFT LPAREN exprComponent COMMA signedInteger RPAREN # timeShiftAtomComponent
| TIME_AGG LPAREN periodIndTo=STRING_CONSTANT (COMMA periodIndFrom=(STRING_CONSTANT| OPTIONAL ))? (COMMA op=optionalExprComponent)? (COMMA (FIRST|LAST))? RPAREN # timeAggAtomComponent
Expand Down Expand Up @@ -701,4 +701,4 @@ basicScalarType:
retainType:
BOOLEAN_CONSTANT
| ALL
;
;

0 comments on commit 54b6530

Please sign in to comment.