File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ includeStatement: INCLUDE StringLiteral SEMICOLON;
6363breakStatement : BREAK SEMICOLON ;
6464continueStatement : CONTINUE SEMICOLON ;
6565endStatement : 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;
6767ifStatement : IF LPAREN expression RPAREN if_body=statementOrScope (ELSE else_body=statementOrScope)?;
6868returnStatement : RETURN (expression | measureExpression)? SEMICOLON ;
6969whileStatement : WHILE LPAREN expression RPAREN body=statementOrScope;
Original file line number Diff line number Diff line change 11antlr4-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
2727install_requires =
2828 antlr4-python3-runtime # __ANTLR_VERSIONS__
2929 importlib_metadata; python_version<'3.10'
30- openqasm3[parser]= =0.4.0
30+ openqasm3[parser]> =0.4.0
3131
3232[options.packages.find]
3333exclude = tests*
You can’t perform that action at this time.
0 commit comments