summaryrefslogtreecommitdiff
path: root/lib/syntax_tools/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feat/erl_tidy_print_to_stdout' into puFredrik Gustafsson2013-08-011-3/+20
|\
| * Added documenation for the new option describing what it does.Aaron2013-06-021-0/+7
| |
| * Changed function call for print_moduleAaron2013-06-021-1/+1
| | | | | | | | | | Changed the function call for print module to the one which matches the actual function is.
| * Added an initial implementation of having erl_tidy print to screen instead ↵Aaron2013-06-021-3/+13
| | | | | | | | of writing to the file provided. The reason for this is that you may want to have an intermediary step between saving the tidied file and using the output. Use-case personally is wanting to integrate erl_tidy into emacs and tidy buffers, overwriting the current file is generally not how this works in emacs with source code tidiers.
* | Remove a useless function clause in erl_syntax_libAnthony Ramine2013-05-191-2/+0
| |
* | Fix transformation of implicit funs in igorAnthony Ramine2013-05-181-14/+19
| | | | | | | | | | | | Function erl_syntax_lib:analyze_implicit_fun/1 should not be called on implicit external funs, as their parts can contain variables instead of atoms and integers.
* | Fix reverting of implicit funsAnthony Ramine2013-05-181-13/+6
|/ | | | | Implicit funs parts in plain AST are no longer in concrete form since Erlang/OTP R15.
* Use ~ts for filenamesHans Bolinder2013-02-193-29/+29
|
* [stdlib] Correct handling of Unicode filenamesHans Bolinder2013-02-153-4/+3
|
* Make Unicode correctionsHans Bolinder2013-02-111-1/+1
|
* Extend char() to Unicode charactersHans Bolinder2013-01-251-6/+6
| | | | | | | | | | 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.
* Turn warnings to errors on selected applicationsBjörn Gustavsson2013-01-231-1/+1
|
* Merge branch 'lh/forget-mnemosyne/OTP-10729'Fredrik Gustafsson2013-01-222-62/+0
|\ | | | | | | | | | | * lh/forget-mnemosyne/OTP-10729: Remove what remains of the Mnemosyne code Remove support for the query keyword and query expressions
| * Remove support for the query keyword and query expressionsLoïc Hoguin2013-01-162-62/+0
| |
* | Merge branch 'nox/enable-silent-rules/OTP-10726'Björn-Egil Dahlberg2013-01-181-3/+3
|\ \ | |/ |/| | | | | * nox/enable-silent-rules/OTP-10726: Implement ./otp_build configure --enable-silent-rules
| * Implement ./otp_build configure --enable-silent-rulesAnthony Ramine2013-01-151-3/+3
| | | | | | | | | | | | 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.
* | syntax_tools: Remove support for packagesBjörn Gustavsson2013-01-093-138/+7
|/
* [syntax_tools] Introduce Unicode support for Erlang source filesHans Bolinder2013-01-026-28/+116
| | | | | | Not complete. Unicode in wild attribute doesn't work. No support for Unicode regarding Igor stubs.
* Used previous resolutionFredrik Gustafsson2012-08-291-7/+3
|
* make list_suffix/1 and list_prefix/1 handle erl_parse() cons sequencesRichard Carlsson2012-08-081-8/+18
|
* modernized and cleaned up edoc documentationRichard Carlsson2012-08-081-704/+642
|
* removed obsolete @spec annotations and fixed some -spec and -type annotationsRichard Carlsson2012-08-081-518/+23
|
* preserve line numbers when reverting representationRichard Carlsson2012-08-081-3/+7
|
* updated author e-mailRichard Carlsson2012-08-089-9/+9
|
* removed CVS keywords from source filesRichard Carlsson2012-08-088-16/+0
|
* Update to work with whitespace in exec pathLukas Larsson2012-06-051-4/+4
| | | | | OTP-10106 OTP-10107
* syntax_tools: Remove warnings of missing typesBjörn-Egil Dahlberg2012-01-052-2/+2
| | | | * Just remove the warnings, not fixing the actual problem.
* syntax_tools: Suppress warning of unused variableBjörn-Egil Dahlberg2012-01-051-1/+2
|
* Revert "syntax_tool: Add missing type information"Björn-Egil Dahlberg2012-01-051-5/+2
| | | | This reverts commit 38ee7a20cfdc22ead35b4711a086babcf6b3069b.
* syntax_tool: Add missing type informationBjörn-Egil Dahlberg2012-01-031-2/+5
|
* EEP-23: Allow variables in fun M:F/ABjörn Gustavsson2011-11-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the external fun syntax "fun M:F/A" only supports literals. That is, "fun lists:reverse/1" is allowed but not "fun M:F/A". In many real-life situations, some or all of M, F, A are not known until run-time, and one is forced to either use the undocumented erlang:make_fun/3 BIF or to use a "tuple fun" (which is deprecated). EEP-23 suggests that the parser (erl_parse) should immediately transform "fun M:F/A" to "erlang:make_fun(M, F, A)". We have not followed that approach in this implementation, because we want the abstract code to mirror the source code as closely as possible, and we also consider erlang:make_fun/3 to be an implementation detail that we might want to remove in the future. Instead, we will change the abstract format for "fun M:F/A" (in a way that is not backwards compatible), and while we are at it, we will move the translation from "fun M:F/A" to "erlang:make_fun(M, F, A)" from sys_pre_expand down to the v3_core pass. We will also update the debugger and xref to use the new format. We did consider making the abstract format backward compatible if no variables were used in the fun, but decided against it. Keeping it backward compatible would mean that there would be different abstract formats for the no-variable and variable case, and tools would have to handle both formats, probably forever. Reference: http://www.erlang.org/eeps/eep-0023.html
* erl_tidy: Eliminate two references to 'regexp' in the documentationBjörn Gustavsson2011-10-271-2/+2
|
* Fix a bug in erl_recommentHans Bolinder2011-04-011-1/+1
| | | | | | | | | | In a file containing declarations and comments without any empty lines between them, the recomment_forms() function would associate a multi-line comment with the declaration above it rather than the one following it. (Thanks to Richard Carlsson.) This bug has been reported several times. It was corrected by Kostis Sagonas, but the fix didn't make into the R14B02 release.
* syntax_tools: Fix an erroneous type and strengthen some specsKostis Sagonas2010-10-263-26/+18
| | | | | | | | | The declaration of the stubDescriptop() type in 'igor' was erroneous, both in the -type and in the published documentation of the module. While fixing this some specs where strengthened and used a remote type to refer to ordsets:ordset(T). Consequently, this patch depends on the ordsets module exporting the ordset/1 type.
* syntax_tools: Add types to record definitionsKostis Sagonas2010-10-055-33/+47
|
* Fix crash in epp_dodger:tokens_to_string/1Maria Christakis2010-09-241-0/+2
| | | | | Add a function clause in the epp_dodger:tokens_to_string/1 to avoid a crash in case the argument is a character.
* syntax_tools: Add declarations for exported typesKostis Sagonas2010-06-034-0/+6
|
* Remove (harmless) warnings about min/max in core applicationsPatrik Nyblom2010-06-022-10/+4
|
* Fix an erroneous specKostis Sagonas2010-05-063-20/+12
| | | | While at it, take out redundant code.
* syntax_tools: Add types and specs for most exported functionsKostis Sagonas2010-02-149-221/+965
| | | | | While at it, consistently replace "bool()" with "boolean()" in the Edoc specs.
* syntax_tools: Support the --enable-native-libs configure optionKostis Sagonas2010-02-141-1/+4
| | | | While at it, turn on some more warnings.
* syntax_tools: Remove $Id$ annotationsKostis Sagonas2010-02-141-2/+1
|
* OTP-8343 The documentation is now possible to build in an open sourceLars G Thorsen2010-01-261-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | environment after a number of bugs are fixed and some features are added in the documentation build process. - The arity calculation is updated. - The module prefix used in the function names for bif's are removed in the generated links so the links will look like http://www.erlang.org/doc/man/erlang.html#append_element-2 instead of http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2 - Enhanced the menu positioning in the html documentation when a new page is loaded. - A number of corrections in the generation of man pages (thanks to Sergei Golovan) - Moved some man pages to more apropriate sections, pages in section 4 moved to 5 and pages in 6 moved to 7. - The legal notice is taken from the xml book file so OTP's build process can be used for non OTP applications.
* The R13B03 release.OTP_R13B03Erlang/OTP2009-11-2012-0/+18411