aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/src/yecc.erl
AgeCommit message (Collapse)Author
2018-06-18Update copyright yearHenrik Nord
2018-05-04Use \n escape instead of integer 10Richard Carlsson
2018-05-04Move lib:nonl/1 into yecc.erlRichard Carlsson
2017-07-06parsetools: Do not use deprecated functions in string(3)Hans Bolinder
Unicode is also handled better in a few cases.
2017-06-09parsetools: Improve handling of Unicode atomsHans Bolinder
2017-04-07parsetools: Fix Yecc regarding Unicode atomsHans Bolinder
Terminals and non-terminals still need to be quoted, which is a side-effect of using the Erlang scanner.
2017-03-10parsetools: Fix handling of locations and annotationsHans Bolinder
2016-09-12parsetools: Suppress Dialyzer-warningsHans Bolinder
When using Yecc's operator precedence declarations (Right, Nonassoc, Left), it is possible that some clauses of the generated code are unreachable. Dialyzer complains, at least if SET_LIMIT in erl_types is set sufficiently high (to avoid sets of integers to collapse to the integer() type). Rather than trying to figure out exactly which clauses are unreachable, Yecc generates a Dialyzer suppression.
2016-03-15update copyright-yearHenrik Nord
2015-06-18Change license text to APLv2Bruce Yinhe
2015-01-15Let Yecc use the new -dialyzer attributeHans Bolinder
Suppress Dialyzer warnings for clauses the only purpose of which is to catch bugs in Yecc.
2014-02-12Fix a few of Dialyzer's unmatched_return warningsHans Bolinder
2013-09-02Fix a Unicode filename bug affecting Leex and YeccHans Bolinder
A bug where Unicode filenames combined with Latin-1 encoding could crash Yecc and Leex has been fixed.
2013-08-28Fix a Yecc bugHans Bolinder
A bug causing Yecc to generate badly formed parsers when encountering very simple recursive rules has been fixed. Thanks to Eric Pailleau for reporting the bug.
2013-02-19Use ~ts for filenamesHans Bolinder
2013-02-11Make Unicode correctionsHans Bolinder
2013-01-25Extend char() to Unicode charactersHans Bolinder
The code related to the introduction of unicode_string() and unicode_char() has been removed. The types char() and string() have been extended to include Unicode characters. In fact char() was changed some time ago; this commit is about cleaning up the documentation and introduce better names for some functions.
2013-01-02[stdlib, kernel] Introduce Unicode support for Erlang source filesHans Bolinder
Expect modifications, additions and corrections. There is a kludge in file_io_server and erl_scan:continuation_location() that's not so pleasing.
2011-09-29Update copyright yearsBjörn-Egil Dahlberg
2011-09-08yecc: optimize werror/1Tuncer Ayaz
2011-09-08yecc: use more descriptive name: 'werror'Tuncer Ayaz
2011-09-08yecc: log warnings as errors if -Werror is enabledTuncer Ayaz
2011-09-08yecc: honour -Werror passed from erlcTuncer Ayaz
2011-06-01yecc: add warnings_as_errors optionTuncer Ayaz
2010-08-23Fix a problem with HiPE-compiled Yecc parsersHans Bolinder
2010-03-05OTP-8486 parsetools: yecc bugHans Bolinder
A bug introduced in Parsetools 1.4.4 (R12B-2) has been fixed. (Thanks to Manolis Papadakis.)
2010-03-03OTP-8483 parsetools: yecc bugHans Bolinder
Yecc failed to report reduce/reduce conflicts where one of the reductions involved the root symbol. This bug has been fixed. (Thanks to Manolis Papadakis.)
2010-02-17Merge branch 'ks/cleanups' into ccase/r13b04_devErlang/OTP
* ks/cleanups: percept: Clean up as suggested by tidier percept: Modernize types and specs parsetools: Don't use 'try...of' when 'try' will do parsetools: Use %% for comments at the beginning of a line parsetools: Replace lists:keysearch/3 with lists:keyfind/3 parsetools: Modernize types and specs parsetools: Replace TABs with spaces runtime_tools: Modernize specs sasl: Eliminate tuple used as fun sasl: Add missing modules to app file asn1: Clean up as suggested by tidier os_mon: Modernize types and specs wx: Clean up as suggested by tidier OTP-8455 ks/cleanups
2010-02-16parsetools: Don't use 'try...of' when 'try' will doKostis Sagonas
2010-02-16parsetools: Replace lists:keysearch/3 with lists:keyfind/3Kostis Sagonas
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP