[Swift-commit] r2755 - trunk/resources
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Sun Mar 29 14:23:35 CDT 2009
Author: hategan
Date: 2009-03-29 14:23:34 -0500 (Sun, 29 Mar 2009)
New Revision: 2755
Modified:
trunk/resources/swiftscript.stg
trunk/resources/swiftscript.xsd
Log:
source location for procedures
Modified: trunk/resources/swiftscript.stg
===================================================================
--- trunk/resources/swiftscript.stg 2009-03-28 15:59:19 UTC (rev 2754)
+++ trunk/resources/swiftscript.stg 2009-03-29 19:23:34 UTC (rev 2755)
@@ -105,7 +105,7 @@
>>
function(name,outputs,inputs,statements,config,sourcelocation) ::= <<
-<procedure name="$name$">
+<procedure name="$name$" src="$sourcelocation$">
$outputs;separator="\n"$
$inputs;separator="\n"$
$statements;separator="\n"$
Modified: trunk/resources/swiftscript.xsd
===================================================================
--- trunk/resources/swiftscript.xsd 2009-03-28 15:59:19 UTC (rev 2754)
+++ trunk/resources/swiftscript.xsd 2009-03-29 19:23:34 UTC (rev 2755)
@@ -111,6 +111,8 @@
<xs:documentation>the name of the procedure</xs:documentation>
</xs:annotation>
</xs:attribute>
+
+ <xs:attribute name="src" type="xs:string" />
</xs:complexType>
<xs:complexType name="FormalParameter">
More information about the Swift-commit
mailing list