lib/fig/grammar.treetop in fig-0.1.10 vs lib/fig/grammar.treetop in fig-0.1.11

- old
+ new

@@ -69,19 +69,19 @@ end } end rule path - ("append" / "path" / "add") ws name:[a-zA-Z0-9]+ "=" value:[@a-zA-Z0-9/\-\\._]+ ws { + ("append" / "path" / "add") ws name:[a-zA-Z0-9_]+ "=" value:[@a-zA-Z0-9/\-\\._]+ ws { def to_config_statement Path.new(name.text_value, value.text_value) end } end rule set - "set" ws name:[a-zA-Z0-9]+ "=" value:[@a-zA-Z0-9/\-\\._]+ ws { + "set" ws name:[a-zA-Z0-9_]+ "=" value:[@a-zA-Z0-9/\-\\._]+ ws { def to_config_statement Set.new(name.text_value, value.text_value) end } end @@ -120,10 +120,10 @@ end } end rule config_name - [a-zA-Z0-9_\-]+ + [a-zA-Z0-9_\-.]+ end rule name value:[a-zA-Z0-9]+ ws end \ No newline at end of file