diff options
author | murphy <murphy@rubychan.de> | 2006-04-15 03:48:36 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2006-04-15 03:48:36 +0000 |
commit | d7f0a0011dd8f2629c4071b8d3cb0004bb9e2a99 (patch) | |
tree | c515d94bda7650c1d40dab9aefa541ef9f9d4c7a /test | |
parent | 5ee15661dbc2da70927f588e310315233aff6eea (diff) | |
download | coderay-d7f0a0011dd8f2629c4071b8d3cb0004bb9e2a99.tar.gz |
styles/_map.rb added. :cycnus is now default style. html/css.rb adjusted.
ROADMAP and TODO updated.
Ruby scanner:
Fixed a bug: Fancy strings don't allow \w delimiters.
They _do_ also allow whitespace delimiters, but adding this would cause
many scan errors. So I leave this bug unfixed.
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/strange.in.rb | 4 | ||||
-rw-r--r-- | test/ruby/strange.out.raydebug | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/ruby/strange.in.rb b/test/ruby/strange.in.rb index 03fec4b..8369aaa 100644 --- a/test/ruby/strange.in.rb +++ b/test/ruby/strange.in.rb @@ -47,6 +47,10 @@ puts 30.send(:/, 5) # prints 6 #%W[ but #@0illegal_values look strange.]
+%Quark dazu
+
+% abc # FIXME
+
%s#ruby allows strange#{constructs}
%s#ruby allows strange#$constructs
%s#ruby allows strange#@@constructs
diff --git a/test/ruby/strange.out.raydebug b/test/ruby/strange.out.raydebug index baa4955..bcf053d 100644 --- a/test/ruby/strange.out.raydebug +++ b/test/ruby/strange.out.raydebug @@ -47,6 +47,10 @@ shell<delimiter(%x')content(instance variables can be )escape(#)instance_variabl comment(#%W[ but #@0illegal_values look strange.])
+operator(%)constant(Quark) ident(dazu)
+
+operator(%) ident(abc) comment(# FIXME)
+
symbol<delimiter(%s#)content(ruby allows strange)delimiter(#)>operator({)ident(constructs)operator(})
symbol<delimiter(%s#)content(ruby allows strange)delimiter(#)>global_variable($constructs)
symbol<delimiter(%s#)content(ruby allows strange)delimiter(#)>class_variable(@@constructs)
|