<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,6 @@ grammar SectionContent
   include Description
   
   rule section
-    line space* '==' space* title:[a-zA-Z\s]+ space* '==' space* text &lt;Section&gt;
+    line space* '==' space* title:[a-zA-Z0-9\s]+ space* '==' space* text &lt;Section&gt;
   end
 end
\ No newline at end of file</diff>
      <filename>lib/pdoc/parser/treetop_files/section_content.treetop</filename>
    </modified>
    <modified>
      <diff>@@ -23,6 +23,16 @@ class EbnfExpressionTest &lt; Test::Unit::TestCase
     assert_equal &quot;Response&quot;,                   parse(ebnf).klass_name
     assert_equal &quot;Array | Object | null&quot;,      parse(ebnf).returns
     assert_equal ebnf,                         parse(ebnf).to_s
+    
+    ebnf = &quot;a123#b456 -&gt; Array | Object | null&quot;
+    assert_parsed ebnf
+    assert_equal InstanceProperty,             parse(ebnf).class
+    assert_equal &quot;a123&quot;,                       parse(ebnf).namespace
+    assert_equal &quot;b456&quot;,                       parse(ebnf).name
+    assert_equal &quot;a123#b456&quot;,                  parse(ebnf).full_name
+    assert_equal &quot;a123&quot;,                       parse(ebnf).klass_name
+    assert_equal &quot;Array | Object | null&quot;,      parse(ebnf).returns
+    assert_equal ebnf,                         parse(ebnf).to_s
   end
   
   def test_klass_property
@@ -192,6 +202,16 @@ class EbnfExpressionTest &lt; Test::Unit::TestCase
     assert_equal [],                           parse(ebnf).mixins
     assert_equal ebnf,                         parse(ebnf).to_s
     
+    ebnf = &quot;scripty2&quot;
+    assert_parsed ebnf
+    assert_equal Namespace,                    parse(ebnf).class
+    assert_equal &quot;&quot;,                           parse(ebnf).namespace
+    assert_equal &quot;scripty2&quot;,                   parse(ebnf).name
+    assert_equal &quot;scripty2&quot;,                   parse(ebnf).full_name
+    assert_equal nil,                          parse(ebnf).klass_name
+    assert_equal [],                           parse(ebnf).mixins
+    assert_equal ebnf,                         parse(ebnf).to_s
+    
     ebnf = &quot;Ajax\n * includes Enumerable&quot;
     assert_parsed ebnf
     assert_equal Namespace,                    parse(ebnf).class
@@ -243,6 +263,15 @@ class EbnfExpressionTest &lt; Test::Unit::TestCase
     assert_equal &quot;Prototype.JSONFilter&quot;,             parse(ebnf).full_name
     assert_equal &quot;/^\/\*-secure-([\s\S]*)\*\/\s*$/&quot;, parse(ebnf).returns
     assert_equal ebnf,                               parse(ebnf).to_s
+    
+    ebnf = &quot;s2.css.LENGTH = /^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/&quot;
+    assert_parsed ebnf
+    assert_equal Constant,                           parse(ebnf).class
+    assert_equal &quot;s2.css&quot;,                           parse(ebnf).namespace
+    assert_equal &quot;LENGTH&quot;,                           parse(ebnf).name
+    assert_equal &quot;s2.css.LENGTH&quot;,                    parse(ebnf).full_name
+    assert_equal &quot;/^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/&quot;, parse(ebnf).returns
+    assert_equal ebnf,                               parse(ebnf).to_s
   end
   
   def test_no_arguments</diff>
      <filename>test/unit/parser/ebnf_expression_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -30,6 +30,11 @@ class SectionContentTest &lt; Test::Unit::TestCase
     assert_equal &quot;Some Section&quot;, parse(text).name
     assert_equal &quot;Some Section&quot;, parse(text).full_name
     assert_equal &quot;some_section&quot;, parse(text).id
+    
+    text = &quot;\n* == scripty2 ==  \n * hello&quot;
+    assert_equal &quot;scripty2&quot;, parse(text).name
+    assert_equal &quot;scripty2&quot;, parse(text).full_name
+    assert_equal &quot;scripty2&quot;, parse(text).id
   end
   
   def test_description</diff>
      <filename>test/unit/parser/section_content_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c508642289d298528a074450b636e580a8042fef</id>
    </parent>
  </parents>
  <author>
    <name>Thomas Fuchs</name>
    <email>thomas@fesch.at</email>
  </author>
  <url>http://github.com/tobie/pdoc/commit/1ca2eed4627c978165fa32605b48995559441b19</url>
  <id>1ca2eed4627c978165fa32605b48995559441b19</id>
  <committed-date>2009-06-11T04:07:44-07:00</committed-date>
  <authored-date>2009-06-11T04:04:51-07:00</authored-date>
  <message>Fix a problem with section parsing, add more unit tests for numbers in namespaces, classnames, etc.

Signed-off-by: Thomas Fuchs &lt;thomas@fesch.at&gt;</message>
  <tree>d0b9440ee500555dd28457470e69e048b8a32dda</tree>
  <committer>
    <name>Thomas Fuchs</name>
    <email>thomas@fesch.at</email>
  </committer>
</commit>
