aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/doc
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-09-03 08:12:36 +0200
committerHans Bolinder <[email protected]>2013-09-03 08:12:36 +0200
commit75d58c0a75a3e6aaa91a1ecf820cf0ad169db5f5 (patch)
treed277f453abade96d44495a179e1ee0e2efc7d11c /lib/parsetools/doc
parent1cbfe6f92b7fbad2352ac9eeba528208f8aa4349 (diff)
parent1de23e3a31b77db4c9dca952644b764bd37e2e8f (diff)
downloadotp-75d58c0a75a3e6aaa91a1ecf820cf0ad169db5f5.tar.gz
otp-75d58c0a75a3e6aaa91a1ecf820cf0ad169db5f5.tar.bz2
otp-75d58c0a75a3e6aaa91a1ecf820cf0ad169db5f5.zip
Merge branch 'maint'
* maint: Fix a Unicode filename bug affecting Leex and Yecc
Diffstat (limited to 'lib/parsetools/doc')
-rw-r--r--lib/parsetools/doc/src/leex.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/parsetools/doc/src/leex.xml b/lib/parsetools/doc/src/leex.xml
index 0fd5a77e37..7ee0633dac 100644
--- a/lib/parsetools/doc/src/leex.xml
+++ b/lib/parsetools/doc/src/leex.xml
@@ -38,19 +38,21 @@ Token = tuple()</code>
</section>
<funcs>
<func>
- <name>file(FileName) -> ok | error</name>
- <name>file(FileName, Options) -> ok | error</name>
+ <name>file(FileName, [, Options]) -> LeexRet</name>
<fsummary>Generate a lexical analyzer</fsummary>
<type>
<v>FileName = filename()</v>
<v>Options = Option | [Option]</v>
<v>Option =&nbsp;-&nbsp;see below&nbsp;-</v>
- <v>FileReturn = {ok, Scannerfile}
- | {ok, Scannerfile, Warnings}
- | error
- | {error, Warnings, Errors}</v>
+ <v>LeexRet = {ok, Scannerfile}
+ | {ok, Scannerfile, Warnings}
+ | error
+ | {error, Warnings, Errors}</v>
<v>Scannerfile = filename()</v>
<v>Warnings = Errors = [{filename(), [ErrorInfo]}]</v>
+ <v>ErrorInfo = {ErrorLine, module(), Reason}</v>
+ <v>ErrorLine = integer()</v>
+ <v>Reason =&nbsp;-&nbsp;formatable by format_error/1&nbsp;-</v>
</type>
<desc>
<p>Generates a lexical analyzer from the definition in the input