diff options
Diffstat (limited to 'grammar.rb')
-rw-r--r-- | grammar.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ class NT end def to_s - "NT<#{@symbol},#{@index}>" + return "NT<#{@symbol},#{@index}>" if @index>=0 + return "NT<#{@symbol}>" end end |