Re: Assigning to BASHPID fails silently

2016-10-18 Thread Eduardo A . Bustamante López
On Mon, Oct 17, 2016 at 08:38:29PM +0200, Martijn Dekker wrote: [...] The BASHPID variable is initialized with null_assign as its "assign_func". The default value for this attribute in newly created variables is NULL. The problem here is caused by the following code from variables.c (function is

How bash do tokenization?

2016-10-18 Thread Peng Yu
Hi, I have been checking bash source code. But it is not clear to me how bash do tokenization as I don't find a lex file. Could anybody point to me where I should look for the information about tokenization in bash source code? -- Regards, Peng

Re: How bash do tokenization?

2016-10-18 Thread Eduardo Bustamante
Check parser.y

Re: How bash do tokenization?

2016-10-18 Thread Eduardo Bustamante
On Tue, Oct 18, 2016 at 10:18 PM, Eduardo Bustamante wrote: > Check parser.y Sorry, I meant parse.y, inside it you will find read_token and yylex.