From 7c03de0e2f5c61bdb97eff421c087b7ea2e3d0de Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 25 Mar 2014 09:35:39 +0100 Subject: [PATCH] Renamed HTML_PARSER to PARSER_OUTPUT. This keeps it consistent with the lexer. --- Rakefile | 8 +++----- task/parser.rake | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Rakefile b/Rakefile index e849857..4024903 100644 --- a/Rakefile +++ b/Rakefile @@ -5,12 +5,10 @@ require 'cliver' GEMSPEC = Gem::Specification.load('oga.gemspec') -LEXER_INPUT = 'lib/oga/xml/lexer.rl' -LEXER_OUTPUT = 'lib/oga/xml/lexer.rb' +LEXER_OUTPUT = 'lib/oga/xml/lexer.rb' +PARSER_OUTPUT = 'lib/oga/xml/parser.rb' -HTML_PARSER = 'lib/oga/xml/parser.rb' - -GENERATED_FILES = ['coverage', 'yardoc', LEXER_OUTPUT, HTML_PARSER] +GENERATED_FILES = ['coverage', 'yardoc', LEXER_OUTPUT, PARSER_OUTPUT] GENERATED_FILES.each do |file| CLEAN << file if File.exist?(file) diff --git a/task/parser.rake b/task/parser.rake index 2a84ff4..8b5a1a4 100644 --- a/task/parser.rake +++ b/task/parser.rake @@ -5,4 +5,4 @@ rule '.rb' => '.y' do |task| end desc 'Generates the parser' -task :parser => [HTML_PARSER] +task :parser => [PARSER_OUTPUT]