Loading src/shell.h +9 −0 Changes for src/shell.h: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -173,6 +173,15 @@ namespace fresh { // group at all. bool extractSubshellBody(const std::string &stage,std::string &body,std::string &suffix); // "{ cmds; } redirection" group as one pipeline stage -- same job as // extractSubshellBody() just above, for '{'/'}' instead of '('/')' // (e.g. the Linux kernel's own scripts/syscallhdr.sh: "grep ... | { // echo ...; while read ...; done; } > outfile"). Requires whitespace // right after '{' (a bare "{foo}" is a literal word, never a group // opener), matching what the non-pipeline "{ CMDS; }" handler in // parse() already requires. bool extractBraceGroupBody(const std::string &stage,std::string &body,std::string &suffix); // True if `line` ends with an odd (unterminated) single- or // double-quote open at end-of-string -- e.g. a "usage=\"...\nmulti- // line text...\n...\"" assignment is still incomplete after its first Loading Loading
src/shell.h +9 −0 Changes for src/shell.h: 9 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -173,6 +173,15 @@ namespace fresh { // group at all. bool extractSubshellBody(const std::string &stage,std::string &body,std::string &suffix); // "{ cmds; } redirection" group as one pipeline stage -- same job as // extractSubshellBody() just above, for '{'/'}' instead of '('/')' // (e.g. the Linux kernel's own scripts/syscallhdr.sh: "grep ... | { // echo ...; while read ...; done; } > outfile"). Requires whitespace // right after '{' (a bare "{foo}" is a literal word, never a group // opener), matching what the non-pipeline "{ CMDS; }" handler in // parse() already requires. bool extractBraceGroupBody(const std::string &stage,std::string &body,std::string &suffix); // True if `line` ends with an odd (unterminated) single- or // double-quote open at end-of-string -- e.g. a "usage=\"...\nmulti- // line text...\n...\"" assignment is still incomplete after its first Loading