diff options
author | Hans Bolinder <[email protected]> | 2013-09-03 08:12:36 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2013-09-03 08:12:36 +0200 |
commit | 75d58c0a75a3e6aaa91a1ecf820cf0ad169db5f5 (patch) | |
tree | d277f453abade96d44495a179e1ee0e2efc7d11c /lib/parsetools/doc/src/leex.xml | |
parent | 1cbfe6f92b7fbad2352ac9eeba528208f8aa4349 (diff) | |
parent | 1de23e3a31b77db4c9dca952644b764bd37e2e8f (diff) | |
download | otp-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/src/leex.xml')
-rw-r--r-- | lib/parsetools/doc/src/leex.xml | 14 |
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 = - see below -</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 = - formatable by format_error/1 -</v> </type> <desc> <p>Generates a lexical analyzer from the definition in the input |