Skip to content

Commit

Permalink
parser has-a tokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Dec 9, 2010
1 parent 68e807a commit 702affb
Show file tree
Hide file tree
Showing 10 changed files with 770 additions and 83 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
*.tmproj
ext/nokogiri/*.dll
lib/nokogiri/nokogiri.so
lib/nokogiri/css/generated_parser.rb
lib/nokogiri/css/generated_tokenizer.rb
lib/nokogiri/css/parser.rb
lib/nokogiri/css/tokenizer.rb
cross
tags
*.rbc
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Bugfixes

* Node#serialize-and-friends now accepts a SaveOption object as the, erm, save object.
* Nokogiri::CSS::Parser has-a Nokogiri::CSS::Tokenizer

=== 1.4.4 / 2010-11-15

Expand Down
4 changes: 2 additions & 2 deletions Manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ ext/nokogiri/xslt_stylesheet.c
ext/nokogiri/xslt_stylesheet.h
lib/nokogiri.rb
lib/nokogiri/css.rb
lib/nokogiri/css/generated_parser.rb
lib/nokogiri/css/generated_tokenizer.rb
lib/nokogiri/css/node.rb
lib/nokogiri/css/parser.rb
lib/nokogiri/css/parser.y
lib/nokogiri/css/parser_extras.rb
lib/nokogiri/css/syntax_error.rb
lib/nokogiri/css/tokenizer.rb
lib/nokogiri/css/tokenizer.rex
lib/nokogiri/css/xpath_visitor.rb
lib/nokogiri/decorators/slop.rb
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ require 'hoe'
windows = RUBY_PLATFORM =~ /(mswin|mingw)/i
java = RUBY_PLATFORM =~ /java/

GENERATED_PARSER = "lib/nokogiri/css/generated_parser.rb"
GENERATED_TOKENIZER = "lib/nokogiri/css/generated_tokenizer.rb"
GENERATED_PARSER = "lib/nokogiri/css/parser.rb"
GENERATED_TOKENIZER = "lib/nokogiri/css/tokenizer.rb"
CROSS_DIR = File.join(File.dirname(__FILE__), 'tmp', 'cross')

# Make sure hoe-debugging is installed
Expand Down
4 changes: 1 addition & 3 deletions lib/nokogiri/css.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
require 'nokogiri/css/node'
require 'nokogiri/css/xpath_visitor'
require 'nokogiri/css/generated_parser'
require 'nokogiri/css/generated_tokenizer'
require 'nokogiri/css/tokenizer'
require 'nokogiri/css/parser'
require 'nokogiri/css/tokenizer'
require 'nokogiri/css/syntax_error'

module Nokogiri
Expand Down
Loading

0 comments on commit 702affb

Please sign in to comment.