Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FILE(GLOB parser_HEADERS *.h)
set(parser_SOURCES
context-decls.cpp
context-defs.cpp
lexer.cpp
parse-1-decls.cpp
parse-2-typedefs.cpp
parse-3-implicit-types.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/parser/contexts.h
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,7 @@ struct ParseDefsCtx : TypeParserCtx<ParseDefsCtx>, AnnotationParserCtx {
void setSrcLoc(const std::vector<Annotation>& annotations) {
const Annotation* annotation = nullptr;
for (auto& a : annotations) {
if (a.kind == srcAnnotationKind) {
if (a.kind.str == std::string_view("src")) {
annotation = &a;
}
}
Expand Down
Loading
Loading