Skip to content

checksrc: Added checks for colon operator in ternary expressions - #14990

Closed
mihaigmarin wants to merge 6 commits into
curl:masterfrom
mihaigmarin:feature/checksrc-space-c
Closed

checksrc: Added checks for colon operator in ternary expressions#14990
mihaigmarin wants to merge 6 commits into
curl:masterfrom
mihaigmarin:feature/checksrc-space-c

Conversation

@mihaigmarin

@mihaigmarin mihaigmarin commented Sep 20, 2024

Copy link
Copy Markdown
Contributor

This is an attempt to provide a check for colon operators in ternary expressions.
Sadly, the current version does work only for ternary expressions that are written in one line.

@bagder

bagder commented Sep 22, 2024

Copy link
Copy Markdown
Member

This PR needs to update test 1185 (which tests checksrc), and it now has a merge conflict (since a4703da I believe)

@mihaigmarin
mihaigmarin force-pushed the feature/checksrc-space-c branch from 9dd6f7e to d4729f2 Compare September 22, 2024 20:21
@github-actions github-actions Bot added the tests label Sep 22, 2024
@mihaigmarin

mihaigmarin commented Sep 22, 2024

Copy link
Copy Markdown
Contributor Author

Thank you for the information. I've updated test1185 and the files that didn't pass in #15009.

@bagder bagder closed this in cff75ac Sep 25, 2024
bagder pushed a commit that referenced this pull request Sep 25, 2024
bagder pushed a commit that referenced this pull request Sep 25, 2024
@bagder

bagder commented Sep 25, 2024

Copy link
Copy Markdown
Member

Thanks!

@mihaigmarin

Copy link
Copy Markdown
Contributor Author

No problem, glad to help.

@mihaigmarin
mihaigmarin deleted the feature/checksrc-space-c branch March 24, 2025 22:51
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants