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

Implement #if defined(...) and #elif defined(...) and #else #62

Merged
merged 2 commits into from
Jul 25, 2023

Commits on Jul 25, 2023

  1. Implement #if defined(...) and #elif defined(...) and #else

    Now only support simple conditional expression which is defined(...) after #if and #elif.
    More complex conditional expression might be supported in the future.
    
    Refactor 'lib/c.c' to improve readability.
    
    Also, add a simple test case to 'tests/driver.sh'
    ChinYikMing committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    357fa9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5adca4f View commit details
    Browse the repository at this point in the history