Skip to content

Commit 3b15023

Browse files
committed
Allow ":" to make named parameters in proof scripts
1 parent b61ae70 commit 3b15023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

key.core/src/main/antlr4/KeYParser.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ proofScriptCommand: AT? cmd=IDENT proofScriptParameters?
866866
| SEMI);
867867

868868
proofScriptParameters: proofScriptParameter+;
869-
proofScriptParameter : ((pname=proofScriptParameterName EQUALS)? expr=proofScriptExpression);
869+
proofScriptParameter : ((pname=proofScriptParameterName (COLON|EQUALS))? expr=proofScriptExpression);
870870
proofScriptParameterName: AT? IDENT; // someone thought, that the let-command parameters should have a leading "@"
871871
proofScriptExpression:
872872
boolean_literal

0 commit comments

Comments
 (0)