feat: disallow single-line comments in < c99 #9
No reviewers
Labels
No labels
IncrementalParsing
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
OtherCompilersCompliance
Kind
StandardCompliance
Performance
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Lexer
Scope/Parser
Scope/PreProcessor
Scope/PublicApi
Scope/Sema
Status
Abandoned
Status
Blocked
Status
Need More Info
Testing
UserExperience
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
click-project/click!9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "c89-single-line-comments"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
...unless the respective extension flag is set
this closes #1
@ -724,6 +724,10 @@ static lex_res lex_func_delim(lexer* lexer)static lex_res lex_func_click_doc_comment(lexer* lexer){click_lang_config* lang = &lexer->document->lang;actually no; this function should only exist for the clike lang family; rename the function instead and remove it from the c family lex list
it never was in the c-family lex list so that's taken care of
although, to be real, the branch probably wouldn't have been taken if this function really is only called for clike
(by the way, the function says "click", all of them do; I thought you had changed the name)
@thacuber2a03 wrote in https://gitea.vxcc.dev/click-project/click/pulls/9#issuecomment-38:
ohh oops I s/clike/click...
can you rename the function in this PR too?
two steps ahead of you; check diff
feat: disallow single-line comments in <= c99to feat: disallow single-line comments in < c99