xo-reader2: DefineSsm handles colon token after lhs var

example:  def foo : f64 = 3.14;
This commit is contained in:
Roland Conybeare 2026-01-20 22:22:45 -05:00
commit 7fadf9662e

View file

@ -108,7 +108,7 @@ namespace xo {
/** token representing comma @c "," **/
static Token comma() { return Token(tokentype::tk_comma); }
/** token representing colon @c ":" **/
static Token colon() { return Token(tokentype::tk_colon); }
static Token colon_token() { return Token(tokentype::tk_colon); }
/** token representing double-colo @c "::" **/
static Token doublecolon() { return Token(tokentype::tk_doublecolon); }
/** token representing semicolon @c ";" **/