File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
liquidjava-verifier/src/main/java/liquidjava/rj_language/parsing Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public static GhostDTO getGhostDeclaration(String s) throws LJError {
3535 ParseTree rc = compile (s );
3636 GhostDTO g = GhostVisitor .getGhostDecl (rc );
3737 if (g == null )
38- throw new SyntaxError ("Invalid ghost declaration, e.g. @Ghost(\" int size\" )" , s );
38+ throw new SyntaxError ("Invalid ghost declaration, expected e.g. @Ghost(\" int size\" )" , s );
3939 return g ;
4040 }
4141
@@ -56,7 +56,7 @@ public static AliasDTO getAliasDeclaration(String s) throws LJError {
5656 AliasVisitor av = new AliasVisitor (input );
5757 AliasDTO alias = av .getAlias (rc );
5858 if (alias == null )
59- throw new SyntaxError ("Invalid alias definition, e.g. @RefinementAlias(\" Positive(int v) { v >= 0 }\" )" , s );
59+ throw new SyntaxError ("Invalid alias definition, expected e.g. @RefinementAlias(\" Positive(int v) { v >= 0 }\" )" , s );
6060 return alias ;
6161 }
6262
You can’t perform that action at this time.
0 commit comments