Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Cannot supply constant override if constant name returns digit #306

Open
Philogy opened this issue Oct 28, 2023 · 0 comments
Open

Cannot supply constant override if constant name returns digit #306

Philogy opened this issue Oct 28, 2023 · 0 comments

Comments

@Philogy
Copy link
Contributor

Philogy commented Oct 28, 2023

This works:

#define constant LMAO_TOKEN = 0xcccccccccccccccccccccccccccccccccccccccc

Command: huffc -b src/MyThing.huff -c LMAO_TOKEN=0x1079873

This doesn't:

#define constant ERC20_TOKEN = 0xcccccccccccccccccccccccccccccccccccccccc

Command: huffc -b src/MyThing.huff -c ERC20_TOKEN=0x1079873

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant