aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/include
AgeCommit message (Collapse)Author
2015-04-30parsetools: Use module erl_annoHans Bolinder
2015-01-15Let Leex use the new -dialyzer attributeHans Bolinder
2014-07-24Fix line counting in token and tokens functionsarchimed
The line counter becomes invalid, when the rules with linewrap are used. This issue appears, because the parsing FSM does not rollback the line counter after attempting such rule. Unit tests for 'token' and 'tokens' are also added.
2014-07-24Fix the line counting in string functionarchimed
The line counter becomes invalid, when the rules with linewrap are used. This issue appears, because the parsing FSM does not rollback the line counter after attempting such rule.
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-11-29parsetools: Eliminate use of tuple funBjörn Gustavsson
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.
2010-11-01Improve formating of Yecc error messagesHans Bolinder
The formating of Yecc's error messages has been improved. (Thanks to Joe Armstrong.)
2010-08-23Fix a problem with HiPE-compiled Yecc parsersHans Bolinder
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: Use %% for comments at the beginning of a lineKostis Sagonas
According to the style guidelines (and the Erlang mode for Emacs), comments at the beginning of a line should start with "%%", not "%".
2010-02-16parsetools: Modernize types and specsKostis Sagonas
2010-02-16parsetools: Replace TABs with spacesBjörn Gustavsson
The files in the parsetools application are supposed to be indented using spaces only. Remove the stray TABs that somehow have crept in.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP