[ET Trac] [Einstein Toolkit] #1290: parameter file parser fails to parse parameter name

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Apr 5 13:36:30 CDT 2013


#1290: parameter file parser fails to parse parameter name
---------------------+------------------------------------------------------
  Reporter:  rhaas   |       Owner:     
      Type:  defect  |      Status:  new
  Priority:  minor   |   Milestone:     
 Component:  Cactus  |     Version:     
Resolution:          |    Keywords:     
---------------------+------------------------------------------------------

Comment (by sbrandt):

 Sorry I didn't notice this sooner. The problem was a faulty definition of
 the name rule. It included the / character. After removing that character,
 the ET test suite still runs fine.


 Index: Call.cc
 ===================================================================
 --- Call.cc     (revision 4991)
 +++ Call.cc     (working copy)
 @@ -722,7 +722,7 @@
                         "# Note that / occurs in some par files. It is
 my\n"
                         "# feeling that this should require quote
 marks.\n"

 -                       "name = [@a-zA-Z_][@/a-zA-Z0-9_-]*\n"
 +                       "name = [@a-zA-Z_][@a-zA-Z0-9_-]*\n"
                         "dname = [0-9][a-zA-Z_]{2,}\n"
                         "inquot = ({var}|\\\\.|[^\\\\\"])*\n"
                         "fname = \\.?/[-\\./0-9a-zA-Z_]+\n"

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


More information about the Trac mailing list