<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
-Copyright (c) 2008 Robert Virding. All rights reserved.
+Copyright (c) 2008,2009 Robert Virding. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions</diff>
      <filename>COPYRIGHT</filename>
    </modified>
    <modified>
      <diff>@@ -24,29 +24,61 @@ EXPORTS
 file(FileName) -&gt; ok | error
 file(FileName, Options) -&gt; ok | error
 
+	Generate a lexical analyzer from the definition in the input
+	file. The input file has the extension .xrl. This is added to
+	the filename if it is not given. The resulting module is the
+	Xrl filename without the .xrl extension.
+
 	The current options are:
 
+	dfa_graph
+		generate a .dot file which contains a desciption of
+		the DFA in a format which can be viewd with Graphviz,
+		www.graphviz.com
+
 	{includefile,File}
 		Use a specific or customised prologue file instead of
 		default leex/include/leexinc.hrl which is otherwise
 		included.
 
-	{outdir,Dir}
-		generate the scanner file in directory Dir
+	{report_errors, bool()}
+		Causes errors to be printed as they occur. Default is
+		true.
 
-	dfa_graph
-		generate a .dot file which contains a desciption of
-		the DFA in a format which can be viewd with Graphviz,
-		www.graphviz.com
+	{report_warnings, bool()}
+		Causes warnings to be printed as they occur. Default
+		is true.
+
+	{report, bool()}
+		This is a short form for both report_errors and
+		report_warnings.
+
+	{return_errors, bool()}
+		If this flag is set, {error, Errors, Warnings} is
+		returned when there are errors. Default is false.
+
+	{return_warnings, bool()}
+		If this flag is set, an extra field containing
+		Warnings is added to the tuple returned upon
+		success. Default is false.
+
+	{return, bool()}
+		This is a short form for both return_errors and
+		return_warnings.
 
-	verbose
-		Output information from parsing the input file and
+	{scannerfile, ScannerFile}
+		ScannerFile is the name of the file that will contain
+		the Erlang scanner code that is generated. The default
+		(&quot;&quot;) is to add the extension .erl to FileName stripped
+		of the .xrl extension.
+
+	{verbose,bool()}
+		Outputs information from parsing the input file and
 		generating the internal tables.
 
-	Generate a lexical analyzer from the definition in the input
-	file. The input file has the extension .xrl. This is added to
-	the filename if it is not given. The resulting module is the
-	Xrl filename without the .xrl extension.
+	Any of the Boolean options can be set to true by stating the
+	name of the option. For example, verbose is equivalent to
+	{verbose, true}.
 
 GENERATED SCANNER EXPORTS
 
@@ -262,6 +294,10 @@ Regular Expressions
 	    delete
 	\ddd
 	    the octal value ddd
+	\xhh
+	    the hexadecimal value hh
+	\x{h...}
+	    the hexadecimal value h...
 	\c
 	    any other character literally, for example \\ for
 	    backslash, \&quot; for &quot;)
@@ -276,9 +312,9 @@ Regular Expressions
 
 	N.B. Anchoring a regular expression with ^ and $ is not
 	implemented in the current version of leex and just generates
-	a nasty error.
+	a parse error.
 
 AUTHORS
 	Robert Virding - rvirding@gmail.com
 
-	Copyright &#169; 2008 Robert Virding
+	Copyright &#169; 2008,2009 Robert Virding</diff>
      <filename>doc/leex.txt</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@
       &lt;holder&gt;Ericsson AB. All Rights Reserved.&lt;/holder&gt;
     &lt;/copyright&gt;
     &lt;legalnotice&gt;
-      Copyright (c) 2008 Robert Virding. All rights reserved.
+      Copyright (c) 2008,2009 Robert Virding. All rights reserved.
     &lt;/legalnotice&gt;
 
     &lt;title&gt;leex&lt;/title&gt;
@@ -450,6 +450,6 @@ Floats (\\+|-)?[0-9]+\\.[0-9]+((E|e)(\\+|-)?[0-9]+)?&lt;/code&gt;
  
     &lt;note&gt;&lt;p&gt;Anchoring a regular expression with &lt;c&gt;^&lt;/c&gt; and &lt;c&gt;$&lt;/c&gt;
       is not implemented in the current version of Leex and just
-      generates an error.&lt;/p&gt;&lt;/note&gt;
+      generates a parse error.&lt;/p&gt;&lt;/note&gt;
   &lt;/section&gt;
 &lt;/erlref&gt;</diff>
      <filename>doc/src/leex.xml</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>ebin/leex.beam</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-%% Copyright (c) 2008 Robert Virding. All rights reserved.
+%% Copyright (c) 2008,2009 Robert Virding. All rights reserved.
 %%
 %% Redistribution and use in source and binary forms, with or without
 %% modification, are permitted provided that the following conditions</diff>
      <filename>src/leex.erl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>16403a853a7c92872c3c28dc3e9419bb7233982a</id>
    </parent>
  </parents>
  <author>
    <name>Robert Virding</name>
    <email>rvirding@gmail.com</email>
  </author>
  <url>http://github.com/rvirding/leex/commit/5b716f43e534551234a8accb0369e10948813a64</url>
  <id>5b716f43e534551234a8accb0369e10948813a64</id>
  <committed-date>2009-09-12T07:49:49-07:00</committed-date>
  <authored-date>2009-09-12T07:49:49-07:00</authored-date>
  <message>Minor fixes to documentation and copyright dates.</message>
  <tree>4b68f20e8d257150fd0b4c4e8e7e1a8b618a5765</tree>
  <committer>
    <name>Robert Virding</name>
    <email>rvirding@gmail.com</email>
  </committer>
</commit>
