blurrymoi

Results 7 comments of blurrymoi

I did some thinking prior to making this and on line 388 they do create a NULL command and yacc accept: http://git.savannah.gnu.org/cgit/bash.git/tree/parse.y?id=df2c55de9c87c2ee8904280d26e80f5c48dd6434#n388 The "None" approach would not really be viable,...

I played with it a bit and one assert ( `assert p[2].kind == 'list'` from parser.py/215 (while or until) ) fails for example on: ``` while [ sth ] do...

I added my proposition for the combination of the two solutions. It should be able to parse all of the aforementioned problems: newlines, comments and newlines in command substitution. What...

Squashed into a single commit for your convenience~

No, my original patch does not regard new lines in substitutions as that was in no way related to what I was trying to accomplish. And I didn't know such...

Can you provide an example? I analysed the testsuite of the abrt project (some 100+ files) and only a handful of tests failed to parse for reasons unrelated to newline...

It's for pattern matching to exclude a single file so that it removes everything but the file. http://wiki.bash-hackers.org/syntax/pattern#extended_pattern_language