[ET Trac] [Einstein Toolkit] #748: interface.ccl parser reports error for extra spaces after in function alias block
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Fri Mar 9 06:46:08 CST 2012
#748: interface.ccl parser reports error for extra spaces after in function alias
block
---------------------+------------------------------------------------------
Reporter: jtao | Owner:
Type: defect | Status: review
Priority: major | Milestone:
Component: Cactus | Version:
Resolution: | Keywords: CST parser
---------------------+------------------------------------------------------
Changes (by eschnett):
* status: reopened => review
Comment:
This is the patch I am suggesting:
{{{
Index: interface_parser.pl
===================================================================
--- interface_parser.pl (revision 4788)
+++ interface_parser.pl (working copy)
@@ -746,7 +746,7 @@
$funcname = $1;
$provided_by = $2;
- if($provided_by =~ m/(.*)\s*LANGUAGE\s*(.+)/i)
+ if($provided_by =~ m/(.*)\s* LANGUAGE\s+(.*\S)\s*/i)
{
$provided_by = $1;
$provided_by_language = "\U$2";
}}}
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/748#comment:5>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list