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

Cannot supply constant override if constant name returns digit #306

@Philogy

Description

@Philogy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions