summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/parser/ruby.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-04 04:14:38 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-04 04:14:38 +0000
commit8bf8dd39f722881b0c415b8b575b0444a0d89411 (patch)
tree47b35d8e124d9e4bc4b24c0d95702f525d5729e0 /lib/rdoc/parser/ruby.rb
parent58553c1c78c3cfffdc3280f84a5126841b9043be (diff)
downloadruby-8bf8dd39f722881b0c415b8b575b0444a0d89411.tar.gz
ruby-8bf8dd39f722881b0c415b8b575b0444a0d89411.tar.xz
ruby-8bf8dd39f722881b0c415b8b575b0444a0d89411.zip
Warn duplicated characters in character class of regexp. [ruby-core:24593]
* include/ruby/oniguruma.h (ONIG_SYN_WARN_CC_DUP): defined. * regparse.h (ScanEnv): add warnings_flag. * regparse.c (CC_DUP_WARN): defined for warn duplicated characters in character class of regexp. [ruby-core:24593] (add_code_range_to_buf): add CC_DUP_WARN. (next_state_val): add CC_DUP_WARN. (OnigSyntaxRuby): add ONIG_SYN_WARN_CC_DUP. (SET_ALL_MULTI_BYTE_RANGE): add env to arguments. (add_code_range): ditto. (add_code_range_to_buf): ditto. (not_code_range_buf): ditto. (or_code_range_buf): ditto. (and_code_range1): ditto. (and_code_range_buf): ditto. (and_cclass): ditto. (or_cclass): ditto. (add_ctype_to_cc_by_range): ditto. (add_ctype_to_cc): ditto. (parse_char_class): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/parser/ruby.rb')
0 files changed, 0 insertions, 0 deletions