summaryrefslogtreecommitdiff
path: root/base/src/bjc/dicelang/expr/Lexer.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/bjc/dicelang/expr/Lexer.java')
-rw-r--r--base/src/bjc/dicelang/expr/Lexer.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/src/bjc/dicelang/expr/Lexer.java b/base/src/bjc/dicelang/expr/Lexer.java
index dfa0f76..a8fbcaa 100644
--- a/base/src/bjc/dicelang/expr/Lexer.java
+++ b/base/src/bjc/dicelang/expr/Lexer.java
@@ -33,10 +33,10 @@ public class Lexer {
* Convert a string from a input command to a series of infix tokens.
*
* @param inp
- * The input command.
+ * The input command.
*
* @param tks
- * The token state.
+ * The token state.
*
* @return A series of infix tokens representing the command.
*/
@@ -44,14 +44,14 @@ public class Lexer {
/* Split tokens on whitespace. */
final String[] spacedTokens = inp.split("[ \t]");
/* Tokens to return. */
- final List<Token> tokens = new LinkedList<>();
+ final List<Token> tokens = new LinkedList<>();
/* Process each token. */
for (final String spacedToken : spacedTokens) {
/* Split on operators. */
final IList<String> splitTokens = split.split(spacedToken);
/* Convert strings to tokens. */
- final IList<Token> rawTokens = splitTokens.map(tok -> tks.lexToken(tok, spacedToken));
+ final IList<Token> rawTokens = splitTokens.map(tok -> tks.lexToken(tok, spacedToken));
/* Add tokens to results. */
rawTokens.forEach(tokens::add);