Skip to content

Commit

Permalink
Fix broken build
Browse files Browse the repository at this point in the history
- it was the anonymous field token `~`
- also fixed related javadoc comment

Signed-off-by: jrte <[email protected]>
  • Loading branch information
jrte committed Sep 13, 2023
1 parent 1ef5dd9 commit 8c716f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/com/characterforming/jrte/engine/Token.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ private static Type type(byte[] token) {
} else if (token[0] == IToken.SIGNAL_TYPE) {
t = IToken.Type.SIGNAL;
}
} else if (token.length == 1 && token[0] == IToken.FIELD_TYPE) {
t = IToken.Type.FIELD;
}
return t;
}
Expand Down
2 changes: 1 addition & 1 deletion src/com/characterforming/ribose/IToken.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* To ribose a token may represent a literal or a symbolic reference to a transducer,
* field or signal prefixed with a special byte designating the type of the referent
* (@, ~ or !, respectively). Literal tokens that require a type prefix, (eg {@code
* out[`!Aliteral`]}) can escape the prefix by doubling it ({@code `!!Aliteral`]}).
* out[`!Aliteral`]}) can escape the prefix by doubling it ({@code out[`!!Aliteral`]}).
* <br><br>
* Arrays of {@code IToken} objects, corresponding to effector parameters, are conveyed
* to proxy parameterized instances during effector parameter precompilation. See the
Expand Down

0 comments on commit 8c716f7

Please sign in to comment.