Correct example in Symbol documentation
authorWincent Colaiuta <win@wincent.com>
Fri, 27 Aug 2010 15:49:02 +0000 (17:49 +0200)
committerWincent Colaiuta <win@wincent.com>
Fri, 27 Aug 2010 15:49:02 +0000 (17:49 +0200)
Signed-off-by: Wincent Colaiuta <win@wincent.com>
lib/walrat/additions/symbol.rb

index b59fc94d7cfff3939ffd6db05519f1f82e7d4689..3e0be296e540c03f66316581a12c88a7ca0ff9b8 100755 (executable)
@@ -31,7 +31,7 @@ class Symbol
   # They can also be used to allow self-references within rules and productions
   # (recursion); for example:
   #
-  #   rule :thing & :thing.optional & :other_thing
+  #   rule :thing, :thing & :thing.optional & :other_thing
   #
   # Basically these SymbolParslets allow deferred evaluation of a rule or
   # production (deferred until parsing takes place) rather than being evaluated