[llvm-commits] [hlvm] r38354 - /hlvm/trunk/hlvm/Reader/HLVM.rng
Reid Spencer
reid at x10sys.com
Sat Jul 7 17:02:36 PDT 2007
Author: reid
Date: Sat Jul 7 19:02:36 2007
New Revision: 38354
URL: http://llvm.org/viewvc/llvm-project?rev=38354&view=rev
Log:
1. Bundle must have some content to be valid
2. Remove dupliate char.elem in Literal.pat
3. Attribute for variables is "init" not "initializer".
Modified:
hlvm/trunk/hlvm/Reader/HLVM.rng
Modified: hlvm/trunk/hlvm/Reader/HLVM.rng
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Reader/HLVM.rng?rev=38354&r1=38353&r2=38354&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Reader/HLVM.rng (original)
+++ hlvm/trunk/hlvm/Reader/HLVM.rng Sat Jul 7 19:02:36 2007
@@ -234,7 +234,7 @@
<zeroOrMore>
<ref name="import.elem"/>
</zeroOrMore>
- <zeroOrMore>
+ <oneOrMore>
<choice>
<ref name="array.elem"/>
<ref name="constant.elem"/>
@@ -253,7 +253,7 @@
<ref name="variable.elem"/>
<ref name="vector.elem"/>
</choice>
- </zeroOrMore>
+ </oneOrMore>
</element>
</define>
@@ -446,7 +446,6 @@
<define name="Literal.pat">
<choice>
<ref name="Boolean_Literal.pat"/>
- <ref name="char.elem"/>
<ref name="Integer_Literal.pat"/>
<ref name="Real_Literal.pat"/>
<ref name="char.elem"/>
@@ -610,7 +609,7 @@
</attribute>
</optional>
<optional>
- <attribute name="initializer">
+ <attribute name="init">
<ref name="Identifier.type"/>
</attribute>
</optional>
More information about the llvm-commits
mailing list