Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
ctags
0005-Ensuring-a-space-is-printed-in-return-type...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Ensuring-a-space-is-printed-in-return-type-AFTER-the.patch of Package ctags
From b27f1a9c3468618eb6b2a02b33a9058f3ca567e6 Mon Sep 17 00:00:00 2001 From: Federico Fissore <federico@fissore.org> Date: Mon, 23 Nov 2015 10:47:18 +0100 Subject: [PATCH 05/19] Ensuring a space is printed in return type AFTER the keyword --- c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/c.c b/c.c index 727d6bb..c40cc42 100644 --- a/c.c +++ b/c.c @@ -2202,11 +2202,11 @@ static void parseReturnType (statementInfo *const st) vStringPut (ReturnType, '&'); break; - case TOKEN_KEYWORD: - vStringPut (ReturnType, ' '); - default: vStringCat (ReturnType, curr_tok->name); + if (curr_tok->type == TOKEN_KEYWORD) { + vStringPut (ReturnType, ' '); + } break; } } -- 2.11.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor