Commit 35cbf76b authored by Tarun Prabhu's avatar Tarun Prabhu
Browse files

Made a minor change to the component_path spec to avoid left-recursive parsing problems

parent a93f161d
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# Simple prototype of an RSpec, to be used by ProtoGENI # Simple prototype of an RSpec, to be used by ProtoGENI
# #
include "../../assign/top.rnc" { include "top.rnc" {
NodeContents = NodeContents =
# Semantic change - the 'name' of a node is now # Semantic change - the 'name' of a node is now
# solely for human-readability. # solely for human-readability.
...@@ -80,13 +80,13 @@ ComponentSpec = ...@@ -80,13 +80,13 @@ ComponentSpec =
LinkComponentSpec = element component_link { ComponentSpec } LinkComponentSpec = element component_link { ComponentSpec }
PathComponentSpec = element component_path { PathComponentSpec = element component_path {
element link { ComponentSpec, LinkEndPoints },
(element link { ComponentSpec, LinkEndPoints}, (element link { ComponentSpec, LinkEndPoints},
element node element node
{ {
ComponentSpec ComponentSpec
} }
)*, )*
element link { ComponentSpec, LinkEndPoints }
} }
RSpec = element rspec { RSpec = element rspec {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment