Skip to content

Command line macros are not case-insensitive in ACS #52

@DavidPH

Description

@DavidPH

As it says in the title, because of the case-forcing in ACC, macros defined by command line with uppercase letters are inaccessible. Barring a total rework of how case insensitivity is handled under ACS, the best solution probably involved splitting up CPP::MacroMap::reset so that CC and ACC can invoke the needed parts. This would also help resolve the quirk that standard C macros get defined for ACS.

In addition to the name lookup, the macro contents must also be addressed. The more pressing issue being the case insensitivity requirement of ACS, but the possibility of different tokenizing rules should also be accounted for. Maybe the macro bodies should be stored as text instead of pre-tokenized? The cost of tokenizing command line macro bodies for each source file is not greatly concerning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions