aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/src
AgeCommit message (Collapse)Author
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-04-07parsetools: Fix Leex regarding Unicode atomsHans Bolinder
Notice that macro names are unquoted atoms.
2017-03-10parsetools: Fix handling of locations and annotationsHans Bolinder
2017-02-14Fixed typos in lib/parsetoolsAndrew Dryga
2016-11-29warn_obsolete_guard is already defaultRichard Carlsson
Update compiler documentation and remove superfluous erlc flags.
2016-09-28parsetools: Correct handling of Unicode in LeexHans Bolinder
The 'dfa_graph' option did not work with Unicode. The testcase 'unicode' was not correct.
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-05-25Update runtime_dependencies in application resource filesHans Bolinder
Applications that use the new erl_anno module are depending on STDLIB 2.5. Note that CosNotification, Megaco, SNMP, Xmerl, and Parsetools use the erl_anno module via the Yecc parsers only (the header file in lib/parsetools/include/yeccpre.hrl calls the erl_anno module). HiPE does not call the erl_anno module, but uses an exported type. We have chosen to make HiPE dependent on the erl_anno module.
2015-04-30parsetools: Use module erl_annoHans Bolinder
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-03-20Introduce runtime_dependencies in .app filesRickard Green
Most dependencies introduced are exactly the dependencies to other applications found by xref. That is, there might be real dependencies missing. There might also be pure debug dependencies listed that probably should be removed. Each application has to be manually inspected in order to ensure that all real dependencies are listed. All dependencies introduced are to application versions used in OTP 17.0. This since the previously used version scheme wasn't designed for this, and in order to minimize the work of introducing the dependencies.
2014-02-18Fix library application appup filesTobias Schlager
As discussed in issue #240 *all* OTP library applications use the '.*' wildcard as up and down version. This makes library applications always up- and downgradeable. Using the wildcard version obsoletes all maintenance tasks regarding library applications' appup files. Additionally, it prevents upgrade problems caused by automatically included application dependencies when using reltool to create releases. Missing copyright headers are now consistently present.
2014-02-12Fix a few of Dialyzer's unmatched_return warningsHans Bolinder
2013-09-10Missed a few similar callsPierre Fenoll
2013-09-10Fix leex module`s inability to build unicode-aware lexers.Pierre Fenoll
If you have declared your .xrl file as utf-8 encoded and that some of your definitions contain unicode characters, either leex wouldn`t be able to lex them or compilation of the .xrl file would crash.
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-25Update copyright yearsBjörn-Egil Dahlberg
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-23Turn warnings to errors on selected applicationsBjörn Gustavsson
2013-01-15Implement ./otp_build configure --enable-silent-rulesAnthony Ramine
With silent rules, the output of make is less verbose and compilation warnings are easier to spot. Silent rules are disabled by default and can be disabled or enabled at will by make V=0 and make V=1.
2013-01-03Merge branch 'hb/parsetools/remove_esyntax/OTP-10660'Hans Bolinder
* hb/parsetools/remove_esyntax/OTP-10660: Remote the file esyntax.yrl
2013-01-02Remote the file esyntax.yrlHans Bolinder
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.
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2011-09-29Merge branch 'dev' into majorBjörn-Egil Dahlberg
* dev: Update copyright years
2011-09-29Update copyright yearsBjörn-Egil Dahlberg
2011-09-13Merge branch 'dev' into majorHenrik Nord
Conflicts: lib/asn1/doc/src/asn1ct.xml
2011-09-08leex: optimize werror/1Tuncer Ayaz
2011-09-08yecc: optimize werror/1Tuncer Ayaz
2011-09-08yecc: use more descriptive name: 'werror'Tuncer Ayaz
2011-09-08leex: use more descriptive name: 'werror'Tuncer Ayaz
2011-09-08yecc: log warnings as errors if -Werror is enabledTuncer Ayaz
2011-09-08leex: log warnings as errors if -Werror is enabledTuncer Ayaz
2011-09-08yecc: honour -Werror passed from erlcTuncer Ayaz
2011-09-08leex: honour -Werror passed from erlcTuncer Ayaz
2011-08-16emulator: Add a fourth element in exception stacktracesBjörn Gustavsson
This commit is a preparation for introducing location information (filename/line number) in stacktraces in exceptions. Currently a stack trace looks like: [{Mod1,Function1,Arity1}, . . . {ModN,FunctionN,ArityN}] Add a forth element to each tuple that can be used indication the filename and line number of the source file: [{Mod1,Function1,Arity1,Location1}, . . . {ModN,FunctionN,ArityN,LocationN}] In this commit, the fourth element will just be an empty list, and we will change all code that look at or manipulate stacktraces.
2011-06-16Remove Dialyzer warningsHans Bolinder
The code that deals with the POSIX version of regexps has been commented out. Robert will add an option as well as some way to set the option in the source file later.
2011-06-01yecc: add warnings_as_errors optionTuncer Ayaz
2011-06-01leex: add warnings_as_errors optionTuncer Ayaz
2010-08-23Fix a problem with HiPE-compiled Yecc parsersHans Bolinder
2010-05-27leex: Clean up as suggested by tidierKostis Sagonas
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