Commit 4461b987 authored by Shashi Guruprasad's avatar Shashi Guruprasad
Browse files

Code added to throw an error if a multiline command is found in a Program

object coz it is currently disallowed.
parent 1933a04a
......@@ -55,6 +55,10 @@ Program instproc updatedb {DB} {
perror "\[updatedb] $self has no command."
if { [string first \n $command] != -1 } {
perror "\[updatedb] $self has disallowed newline in command: $command"
set progvnode $node
# if the attached node is a simulated one, we attach the
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment