Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue with SConsCPPConditionalScanner misinterpreting ifdefs suffixed with L or UL [Alternate Implementation] #4629

Merged
merged 3 commits into from
Nov 11, 2024

Commits on Nov 10, 2024

  1. Fix CPP conditional scanner (cpp.py) and test suite (cppTests.py).

    Changes:
    - Preserve non-integer literals that contain valid integer specifications.
    - Add binary integer specifications
    - Add octal integer specification
    - Zero (0) is considered an octal number
    - Add negative lookbehind/lookahead for number specifications (text is not word/token based)
    - Add method to evaluate constant expression for define constant expressions
    - Replace int conversion with constant evaluation expression
      - int conversion failed for hex numbers due to default base 10 [int(s)] vs unknown base [int(s, 0)]
    - Add additional tests
    jcbrill committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    382d1e2 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Configuration menu
    Copy the full SHA
    80ab029 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e96cf68 View commit details
    Browse the repository at this point in the history