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

Add to forbid struct in C files and in scopes that is not global #458

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

NiumXp
Copy link
Contributor

@NiumXp NiumXp commented Nov 23, 2023

Fixes #437, #435 and #347.

I did to show an error when a struct is in a C file, but what about enum, union and typedef, must they also be fobidden?

  • Add to report error when struct is in C file
  • Add to report error when union is in C file
  • Add to report error when enum is in C file
  • Add to report error when typedef is in C file

@matthieu42Network
Copy link
Contributor

Hello, we think it's a good idea but we need to update the pdf according to this.
Do you want to do this in this PR or will you add it on another one?

@NiumXp
Copy link
Contributor Author

NiumXp commented Nov 23, 2023

Hello, we think it's a good idea but we need to update the pdf according to this. Do you want to do this in this PR or will you add it on another one?

Yeah, I do, but, I don't know how to generate the .pdf file after editing the .tex file, can you explain how can I do it?

@matthieu42Network
Copy link
Contributor

I will do it.

@matthieu42Network matthieu42Network merged commit 07a39b8 into 42School:master Nov 24, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Union/Struct/Enum Definitions Inside a Function Scope
2 participants