- Extract the line-reading code in ProcessInput to a separate function (ReadLine...
authorJeffrey Morlan <mrnobo1024@yahoo.com>
Fri, 22 Aug 2008 14:37:11 +0000 (14:37 +0000)
committerJeffrey Morlan <mrnobo1024@yahoo.com>
Fri, 22 Aug 2008 14:37:11 +0000 (14:37 +0000)
commit8b52a8e50a7221984053b4e3785eeefe248fec4b
treee0b6cc8b664a6c18ecb606961a261e5b914ff773
parent16ab5c9a07438dd51c0e2649aaa4751db2ea73b1
- Extract the line-reading code in ProcessInput to a separate function (ReadLine) that the parser can call. Now line continuations (using ^ at the end of a line) and multi-line parenthesized blocks work.
- ReadBatchLine: Don't strip the trailing \n, the parser needs it. Remove handling of :labels and @quiet commands, now done by the parser.
- ReadCommand: Add a \n to the line. Move PrintPrompt call out, since the prompt shouldn't be printed for additional lines read in a command beyond the first.

svn path=/trunk/; revision=35530
reactos/base/shell/cmd/batch.c
reactos/base/shell/cmd/batch.h
reactos/base/shell/cmd/cmd.c
reactos/base/shell/cmd/cmd.h
reactos/base/shell/cmd/cmdinput.c
reactos/base/shell/cmd/parser.c