# HG changeset patch # User Eugenio Gianniti # Date 1401353897 -7200 # Node ID c74309df34897c1dd2cb778a1e48499aa1282a3f # Parent 8db0b8583615298b2017e2d905372681211a4104 State in the ufl.m help message that leading brackets cause an error diff -r 8db0b8583615 -r c74309df3489 inst/ufl.m --- a/inst/ufl.m Wed May 28 14:15:52 2014 +0200 +++ b/inst/ufl.m Thu May 29 10:58:17 2014 +0200 @@ -37,6 +37,13 @@ ## ## This way you can write a ufl file and compile it obtaining a LinearForm. ## +## Be aware that a ufl line starting with brackets will result in a syntax +## error. To avoid this, it is necessary to enclose them and their content +## in quotes or apices: +## @example +## @code{ufl "(sigma, u)" = TrialFunctions(W)} +## @end example +## ## @seealso{import_ufl_Problem, import_ufl_BilinearForm, import_ufl_Functional, ## import_ufl_FunctionSpace, import_ufl_LinearForm} ## @end deftypefn