From 1cab449c931ff89afcc90945639e5430ce1522ad Mon Sep 17 00:00:00 2001
From: helly <helly@642ea486-5414-0410-9d7f-a0204ed87703>
Date: Fri, 2 Jan 2009 18:56:36 +0000
Subject: [PATCH] - Applied #2482572 Typos in error messages.

---
 re2c/CHANGELOG            | 1 +
 re2c/bootstrap/scanner.cc | 2 +-
 re2c/htdocs/index.html    | 1 +
 re2c/scanner.re           | 2 +-
 re2c/test/repeat-00.cgi.c | 2 +-
 5 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/re2c/CHANGELOG b/re2c/CHANGELOG
index f586c29d..0b3709ce 100644
--- a/re2c/CHANGELOG
+++ b/re2c/CHANGELOG
@@ -1,6 +1,7 @@
 Version 0.13.6 (2009-??-??)
 ---------------------------
 - Fixed inplace configuration in -e mode.
+- Applied #2482572 Typos in error messages.
 - Fixed #2478216 Wrong start_label in -c mode.
 - Fixed #2186718 Unescaped backslash in file name of #line directive.
 - Fixed #2102138 Duplicate case labels on EBCDIC.
diff --git a/re2c/bootstrap/scanner.cc b/re2c/bootstrap/scanner.cc
index a7bc7b9a..a4fe8fdc 100644
--- a/re2c/bootstrap/scanner.cc
+++ b/re2c/bootstrap/scanner.cc
@@ -365,7 +365,7 @@ yy46:
 					}
 					else
 					{
-						fatal("found 'reules:re2c' block without -r flag");
+						fatal("found 'rules:re2c' block without -r flag");
 					}
 					if (bUsedYYMaxFill && bSinglePass)
 					{
diff --git a/re2c/htdocs/index.html b/re2c/htdocs/index.html
index 5eacc31f..c3cbb4b6 100755
--- a/re2c/htdocs/index.html
+++ b/re2c/htdocs/index.html
@@ -84,6 +84,7 @@ fixes which were incorporated. <a href=
 <h2>2008-??-??: 0.13.6</h2>
 <ul>
 <li>Fixed inplace configuration in -e mode.</li>
+<li>Applied #2482572 Typos in error messages.</li>
 <li>Fixed #2478216 Wrong start_label in -c mode.</li>
 <li>Fixed #2102138 Duplicate case labels on EBCDIC.</li>
 <li>Fixed #2186718 Unescaped backslash in file name of #line directive.</li>
diff --git a/re2c/scanner.re b/re2c/scanner.re
index 8cfe737f..b777fb52 100644
--- a/re2c/scanner.re
+++ b/re2c/scanner.re
@@ -87,7 +87,7 @@ echo:
 					}
 					else
 					{
-						fatal("found 'reules:re2c' block without -r flag");
+						fatal("found 'rules:re2c' block without -r flag");
 					}
 					if (bUsedYYMaxFill && bSinglePass)
 					{
diff --git a/re2c/test/repeat-00.cgi.c b/re2c/test/repeat-00.cgi.c
index d042e907..eb94d5d3 100755
--- a/re2c/test/repeat-00.cgi.c
+++ b/re2c/test/repeat-00.cgi.c
@@ -1 +1 @@
-re2c: error: line 5, column 1: found 'reules:re2c' block without -r flag
+re2c: error: line 5, column 1: found 'rules:re2c' block without -r flag
-- 
2.40.0