mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
fhem.pl: # comments are not removed if they start in the middle of the line.
git-svn-id: https://svn.fhem.de/fhem/trunk@8066 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ca1bf29bf3
commit
38bc1a9ed9
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- feature: # comments in fhem.cfg are only removed at the line-start
|
||||||
- feature: set command modifyTimeSpec for at, to be used in webCmd
|
- feature: set command modifyTimeSpec for at, to be used in webCmd
|
||||||
- added: New module 71_PHILIPS_AUDIO.pm for Philips MCi, Streamium and
|
- added: New module 71_PHILIPS_AUDIO.pm for Philips MCi, Streamium and
|
||||||
Fidelio devices.
|
Fidelio devices.
|
||||||
|
@ -853,7 +853,7 @@ AnalyzeCommandChain($$;$)
|
|||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
$cmd =~ s/#.*$//s;
|
$cmd =~ s/^\s*#.*$//s; # Remove comments at the beginning of the line
|
||||||
|
|
||||||
$cmd =~ s/;;/SeMiCoLoN/g;
|
$cmd =~ s/;;/SeMiCoLoN/g;
|
||||||
my @saveCmdList = @cmdList; # Needed for recursive calls
|
my @saveCmdList = @cmdList; # Needed for recursive calls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user