[ET Trac] [Einstein Toolkit] #1303: document syntax of new parameter file parser

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri May 17 15:31:00 CDT 2013


#1303: document syntax of new parameter file parser
---------------------+------------------------------------------------------
  Reporter:  rhaas   |       Owner:  sbrandt   
      Type:  defect  |      Status:  assigned  
  Priority:  major   |   Milestone:  ET_2013_05
 Component:  Cactus  |     Version:            
Resolution:          |    Keywords:            
---------------------+------------------------------------------------------

Comment (by eschnett):

 Association of unary operators is related to precedence. Let's take the C
 expression ++x[0]; here there are the two operators "++" and "[0]" (if we
 interpret this as operator). The question is which of these two operators
 is applied first. In C/C++, this order is always right-before-left, so
 that x[0] is incremented, and not x, i.e. the expression is parsed as
 ++(x[0]).

 See also <http://en.cppreference.com/w/cpp/language/operator_precedence>.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1303#comment:5>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list