Skip to content

Commit

Permalink
reverted token ids
Browse files Browse the repository at this point in the history
  • Loading branch information
tabularelf authored and katsaii committed Jul 31, 2024
1 parent e5ad4c9 commit 331f356
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src-lts/scripts/scr_catspeak_lexer/scr_catspeak_lexer.gml
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,8 @@ enum CatspeakToken {
///
/// @experimental
PARAMS = 58,
/// The `params_count` keyword.
///
/// @experimental
PARAMS_COUNT = 59,
/// Represents a variable name.
IDENT = 60,
IDENT = 59,
/// Represents a GML value. This could be one of:
/// - string literal: `"hello world"`
/// - verbatim literal: `@"\(0_0)/ no escapes!"`
Expand All @@ -161,20 +157,24 @@ enum CatspeakToken {
/// - character: `'A'`, `'0'`, `'\n'`
/// - boolean: `true` or `false`
/// - `undefined`
VALUE = 61,
VALUE = 60,
/// Represents a sequence of non-breaking whitespace characters.
WHITESPACE = 62,
WHITESPACE = 61,
/// Represents a comment.
COMMENT = 63,
COMMENT = 62,
/// Represents the end of the file.
EOF = 64,
EOF = 63,
/// Represents any other unrecognised character.
///
/// @remark
/// If the compiler encounters a token of this type, it will typical
/// raise an exception. This likely indicates that a Catspeak script has
/// a syntax error somewhere.
OTHER = 65,
OTHER = 64,
/// The `params_count` keyword.
///
/// @experimental
PARAMS_COUNT = 65,
/// @ignore
__SIZE__ = 66,
}
Expand Down

0 comments on commit 331f356

Please sign in to comment.