summaryrefslogtreecommitdiff
path: root/lib/racc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-01-28 23:00:13 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-01-28 23:00:13 +0900
commitfb41246ddb2dd3c1b4595cd7e27ed3710def3fc8 (patch)
tree20591e1d707bb252492767c613eee17d990890fa /lib/racc
parent17715153e5cb651b91eab097c561add7ffd2eb97 (diff)
Stop parsing copyright notices as document [ci skip]
Diffstat (limited to 'lib/racc')
-rw-r--r--lib/racc/compat.rb2
-rw-r--r--lib/racc/debugflags.rb2
-rw-r--r--lib/racc/exception.rb3
-rw-r--r--lib/racc/grammar.rb3
-rw-r--r--lib/racc/grammarfileparser.rb2
-rw-r--r--lib/racc/info.rb3
-rw-r--r--lib/racc/iset.rb2
-rw-r--r--lib/racc/logfilegenerator.rb2
-rw-r--r--lib/racc/parserfilegenerator.rb3
-rw-r--r--lib/racc/sourcetext.rb2
-rw-r--r--lib/racc/state.rb3
-rw-r--r--lib/racc/statetransitiontable.rb2
12 files changed, 29 insertions, 0 deletions
diff --git a/lib/racc/compat.rb b/lib/racc/compat.rb
index ccb033e2e0..fad03128aa 100644
--- a/lib/racc/compat.rb
+++ b/lib/racc/compat.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 14fa1118eb3a23e85265e4f7afe2d5a297d69f9c $
#
@@ -8,6 +9,7 @@
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of the GNU LGPL, see the file "COPYING".
#
+#++
unless Object.method_defined?(:__send)
class Object
diff --git a/lib/racc/debugflags.rb b/lib/racc/debugflags.rb
index 1b5d2fe54c..3df96f294d 100644
--- a/lib/racc/debugflags.rb
+++ b/lib/racc/debugflags.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 74ff4369ce53c7f45cfc2644ce907785104ebf6e $
#
@@ -8,6 +9,7 @@
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of LGPL, see the file "COPYING".
#
+#++
module Racc
diff --git a/lib/racc/exception.rb b/lib/racc/exception.rb
index 0069ca3443..83170b3adf 100644
--- a/lib/racc/exception.rb
+++ b/lib/racc/exception.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: ebb9798ad0b211e031670a12a1ab154678c1c8f3 $
#
@@ -6,6 +7,8 @@
# This program is free software.
# You can distribute/modify this program under the same terms of ruby.
# see the file "COPYING".
+#
+#++
module Racc
class Error < StandardError; end
diff --git a/lib/racc/grammar.rb b/lib/racc/grammar.rb
index 123f1f1834..1ef3d56a03 100644
--- a/lib/racc/grammar.rb
+++ b/lib/racc/grammar.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 3fcabd58bef02540bf78e8142469681cb9f975c2 $
#
@@ -6,6 +7,8 @@
# This program is free software.
# You can distribute/modify this program under the same terms of ruby.
# see the file "COPYING".
+#
+#++
require 'racc/compat'
require 'racc/iset'
diff --git a/lib/racc/grammarfileparser.rb b/lib/racc/grammarfileparser.rb
index 5e7081f00a..e85e06ca22 100644
--- a/lib/racc/grammarfileparser.rb
+++ b/lib/racc/grammarfileparser.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 63bd084db2dce8a2c9760318faae6104717cead7 $
#
@@ -8,6 +9,7 @@
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of the GNU LGPL, see the file "COPYING".
#
+#++
require 'racc'
require 'racc/compat'
diff --git a/lib/racc/info.rb b/lib/racc/info.rb
index b7db7b6c9b..d35ce2dcea 100644
--- a/lib/racc/info.rb
+++ b/lib/racc/info.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 8ab2cb5341529fe5e35956bb1a1f42ec9b9c6f5a $
#
@@ -6,6 +7,8 @@
# This program is free software.
# You can distribute/modify this program under the same terms of ruby.
# see the file "COPYING".
+#
+#++
module Racc
VERSION = '1.4.16'
diff --git a/lib/racc/iset.rb b/lib/racc/iset.rb
index 245bad8b50..cfe3657724 100644
--- a/lib/racc/iset.rb
+++ b/lib/racc/iset.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 31aa4331c08dfd4609c06eb5f94b7ef38dc708e1 $
#
@@ -8,6 +9,7 @@
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of the GNU LGPL, see the file "COPYING".
#
+#++
module Racc
diff --git a/lib/racc/logfilegenerator.rb b/lib/racc/logfilegenerator.rb
index 68593c41f6..e54af8786d 100644
--- a/lib/racc/logfilegenerator.rb
+++ b/lib/racc/logfilegenerator.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 5e9d0a01b5d56fd9cdc3d5cb078b1a3e1bbaf779 $
#
@@ -8,6 +9,7 @@
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of the GNU LGPL, see the file "COPYING".
#
+#++
module Racc
diff --git a/lib/racc/parserfilegenerator.rb b/lib/racc/parserfilegenerator.rb
index ee1262db29..068c902e9c 100644
--- a/lib/racc/parserfilegenerator.rb
+++ b/lib/racc/parserfilegenerator.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: fff07ebfd582f8dbc845e424908cb9f41f8bf42f $
#
@@ -6,6 +7,8 @@
# This program is free software.
# You can distribute/modify this program under the same terms of ruby.
# see the file "COPYING".
+#
+#++
require 'enumerator'
require 'racc/compat'
diff --git a/lib/racc/sourcetext.rb b/lib/racc/sourcetext.rb
index b33ba29291..6944ac7541 100644
--- a/lib/racc/sourcetext.rb
+++ b/lib/racc/sourcetext.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 3b2d89d9ada2f5fcb043837dcc5c9631856d5b70 $
#
@@ -8,6 +9,7 @@
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of LGPL, see the file "COPYING".
#
+#++
module Racc
diff --git a/lib/racc/state.rb b/lib/racc/state.rb
index 51b1d83664..50852d9130 100644
--- a/lib/racc/state.rb
+++ b/lib/racc/state.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 6bd3136439c94cb8d928917f5e0de9c593181527 $
#
@@ -6,6 +7,8 @@
# This program is free software.
# You can distribute/modify this program under the same terms of ruby.
# see the file "COPYING".
+#
+#++
require 'racc/iset'
require 'racc/statetransitiontable'
diff --git a/lib/racc/statetransitiontable.rb b/lib/racc/statetransitiontable.rb
index 23df4102ec..dc525bbafa 100644
--- a/lib/racc/statetransitiontable.rb
+++ b/lib/racc/statetransitiontable.rb
@@ -1,3 +1,4 @@
+#--
#
# $Id: 4c5f4311663b6d03050953d64d6a0e7905ff2216 $
#
@@ -8,6 +9,7 @@
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of LGPL, see the file "COPYING".
#
+#++
require 'racc/parser'