For clarity, it would be good to reinforce in the documentation whether the semicon is a statement terminator or statement separator.
Semicolon is typically ambiguous in different languages. On Tuesday, 19 August 2014, Botond Botyanszki <b...@nxlog.org> wrote: > Hi, > > On Fri, 15 Aug 2014 13:47:53 +1200 > Cameron Kerr <cameron.kerr...@gmail.com <javascript:;>> wrote: > > > This: > > Exec if $raw_event =~ /^#/ drop() > > > > Fails with: > > > > function 'drop()' does not exist or takes different arguments > > This is actually invalid. The error message is a little misleading > though. It should print "semicolon missing at end of statement" or > something similar. > > Regards, > Botond > > > > ------------------------------------------------------------------------------ > _______________________________________________ > nxlog-ce-users mailing list > nxlog-ce-users@lists.sourceforge.net <javascript:;> > https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users > -- -- Cameron Kerr <cameron.kerr...@gmail.com> See my blog at http://distracted-it.blogspot.co.nz/ (previously http://humbledown.org/) Skype me on cameron.kerr.nz
------------------------------------------------------------------------------
_______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users