lkml.org 
[lkml]   [2021]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] kconfig: rename a variable in the lexer to a clearer name
Masahiro Yamada <masahiroy@kernel.org> writes:

> In Kconfig, like Python, you can enclose a string by double-quotes or
> single-quotes. So, both "foo" and 'foo' are allowed.
>
> The variable, "str", is used to remember whether the string started with
> a double-quote or a single-quote.
>
> Rename it to a clearer name. The type should be 'char'.

LGTM.

Reviewed-by: Boris Kolpackov <boris@codesynthesis.com>

\
 
 \ /
  Last update: 2021-09-29 16:02    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog