mirror of
https://github.com/AppleCommander/bastools.git
synced 2025-01-28 11:33:51 +00:00
Forcing identifiers (variables) to be upper-case. Closes #8.
This commit is contained in:
parent
a6f01dcde0
commit
38bdbc901a
@ -43,7 +43,7 @@ public class Token {
|
||||
return new Token(line, Type.NUMBER, null, number, null);
|
||||
}
|
||||
public static Token ident(int line, String text) {
|
||||
return new Token(line, Type.IDENT, null, null, text);
|
||||
return new Token(line, Type.IDENT, null, null, text.toUpperCase());
|
||||
}
|
||||
public static Token comment(int line, String text) {
|
||||
return new Token(line, Type.COMMENT, null, null, text);
|
||||
|
Loading…
x
Reference in New Issue
Block a user