Changeset View
Changeset View
Standalone View
Standalone View
plugins/cmake/parser/cmakelistsparser.cpp
Show First 20 Lines • Show All 182 Lines • ▼ Show 20 Line(s) | 175 | case cmListFileLexer_Token_ParenRight: | |||
---|---|---|---|---|---|
183 | else | 183 | else | ||
184 | func.arguments << CMakeFunctionArgument( QString::fromLocal8Bit(token->text, token->length), false, token->line, token->column ); | 184 | func.arguments << CMakeFunctionArgument( QString::fromLocal8Bit(token->text, token->length), false, token->line, token->column ); | ||
185 | break; | 185 | break; | ||
186 | case cmListFileLexer_Token_ParenLeft: | 186 | case cmListFileLexer_Token_ParenLeft: | ||
187 | parenthesis++; | 187 | parenthesis++; | ||
188 | func.arguments << CMakeFunctionArgument( QString::fromLocal8Bit(token->text, token->length), false, token->line, token->column ); | 188 | func.arguments << CMakeFunctionArgument( QString::fromLocal8Bit(token->text, token->length), false, token->line, token->column ); | ||
189 | break; | 189 | break; | ||
190 | case cmListFileLexer_Token_Identifier: | 190 | case cmListFileLexer_Token_Identifier: | ||
191 | case cmListFileLexer_Token_ArgumentBracket: | ||||
191 | case cmListFileLexer_Token_ArgumentUnquoted: | 192 | case cmListFileLexer_Token_ArgumentUnquoted: | ||
192 | func.arguments << CMakeFunctionArgument( QString::fromLocal8Bit(token->text, token->length), false, token->line, token->column ); | 193 | func.arguments << CMakeFunctionArgument( QString::fromLocal8Bit(token->text, token->length), false, token->line, token->column ); | ||
193 | break; | 194 | break; | ||
194 | case cmListFileLexer_Token_ArgumentQuoted: | 195 | case cmListFileLexer_Token_ArgumentQuoted: | ||
195 | func.arguments << CMakeFunctionArgument( QString::fromLocal8Bit(token->text, token->length), true, token->line, token->column+1 ); | 196 | func.arguments << CMakeFunctionArgument( QString::fromLocal8Bit(token->text, token->length), true, token->line, token->column+1 ); | ||
196 | break; | 197 | break; | ||
197 | case cmListFileLexer_Token_Space: | 198 | case cmListFileLexer_Token_Space: | ||
198 | case cmListFileLexer_Token_Newline: | 199 | case cmListFileLexer_Token_Newline: | ||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |