Skip to content

Conversation

KenthJohan
Copy link
Contributor

@KenthJohan KenthJohan commented Mar 15, 2025

Supports binary and hex number in script.
Decimal: 123
Hexadecimal 0xABC (Added support)
Binary 0b01010101 (Added support)

This PR have some duplicate code.

Another approach would be to introduce more token enums like this:

  • EcsTokNumber base 10
  • EcsTokNumberHex base 16
  • EcsTokNumberBin base 2

@SanderMertens
Copy link
Owner

LGTM, thanks for the PR!

@SanderMertens SanderMertens merged commit e6be41f into SanderMertens:master Mar 17, 2025
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants