File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ includeStatement: INCLUDE StringLiteral SEMICOLON;
63
63
breakStatement : BREAK SEMICOLON ;
64
64
continueStatement : CONTINUE SEMICOLON ;
65
65
endStatement : END SEMICOLON ;
66
- forStatement : FOR scalarType Identifier IN (setExpression | LBRACKET rangeExpression RBRACKET | Identifier ) body=statementOrScope;
66
+ forStatement : FOR scalarType Identifier IN (setExpression | LBRACKET rangeExpression RBRACKET | expression ) body=statementOrScope;
67
67
ifStatement : IF LPAREN expression RPAREN if_body=statementOrScope (ELSE else_body=statementOrScope)?;
68
68
returnStatement : RETURN (expression | measureExpression)? SEMICOLON ;
69
69
whileStatement : WHILE LPAREN expression RPAREN body=statementOrScope;
Original file line number Diff line number Diff line change 14
14
the :obj:`~parser.parse` function.
15
15
"""
16
16
17
- __version__ = "0.4.2 "
17
+ __version__ = "0.5.0 "
18
18
19
19
from . import ast , parser
20
20
from .parser import parse
Original file line number Diff line number Diff line change 1
1
antlr4-python3-runtime
2
- openqasm3 == 0.4 .0
2
+ openqasm3 >= 0.5 .0
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ include_package_data = True
27
27
install_requires =
28
28
antlr4-python3-runtime # __ANTLR_VERSIONS__
29
29
importlib_metadata; python_version<'3.10'
30
- openqasm3[parser]==0.4 .0
30
+ openqasm3[parser]>=0.5 .0
31
31
32
32
[options.packages.find]
33
33
exclude = tests*
You can’t perform that action at this time.
0 commit comments