public int tokenType() {
		if (tokenizer.ttype == StreamTokenizer.TT_WORD) {
			if (tokenizer.ttype == '"') { // a quoted string
				return STRING_CONST;
			} else if (checkKeyword() != -1) {
				return KEYWORD;
			} else if (Character.isDigit(tokenizer.sval.charAt(0))) {
				return INT_CONST;
			}
			return IDENTIFIER;
		} else if (tokenizer.ttype == StreamTokenizer.TT_NUMBER) {
			return INT_CONST;
		} else if (tokenizer.ttype == StreamTokenizer.TT_EOF) {
			return EOF;
		} else if (isSymbol()) {
			return SYMBOL;
		}

		return STRING_CONST;
	}