Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-02 | OTP-8664 Erlang parser augmented with operators for integer types | Hans Bolinder | |
Expressions evaluating to integers can now be used in types and function specifications where hitherto only integers were allowed ("Erlang_Integer"). | |||
2010-05-31 | OTP-8657 New Erlang scanner tokens: '..' and '...' | Hans Bolinder | |
The Erlang scanner has been augmented with two new tokens: .. and .... | |||
2010-05-12 | OTP-8629 stdlib: prepare erl_parse.yrl for future extension | Hans Bolinder | |
2010-04-20 | Support nested record field access without parentheses | Tuncer Ayaz | |
Original patch from YAMASHINA Hio posted to erlang-patches@ on Tue Jun 12 11:27:53 CEST 2007: http://www.erlang.org/pipermail/erlang-patches/2007-June/000182.html http://fleur.hio.jp/pub/erlang/record2.patch Only had to do minor changes to port the patch to the current R14A development tree. Also added compiler/record_SUITE:nested_access/2 to test nested record access with or without parentheses. With this change the following will work. -record(nrec0, {name = <<"nested0">>}). -record(nrec1, {name = <<"nested1">>, nrec0=#nrec0{}}). -record(nrec2, {name = <<"nested2">>, nrec1=#nrec1{}}). nested_access() -> N0 = #nrec0{}, N1 = #nrec1{}, N2 = #nrec2{}, <<"nested0">> = N0#nrec0.name, <<"nested1">> = N1#nrec1.name, <<"nested2">> = N2#nrec2.name, <<"nested0">> = N1#nrec1.nrec0#nrec0.name, <<"nested0">> = N2#nrec2.nrec1#nrec1.nrec0#nrec0.name, <<"nested1">> = N2#nrec2.nrec1#nrec1.name, <<"nested0">> = ((N2#nrec2.nrec1)#nrec1.nrec0)#nrec0.name, N1a = N2#nrec2.nrec1#nrec1{name = <<"nested1a">>}, <<"nested1a">> = N1a#nrec1.name, N2a = N2#nrec2.nrec1#nrec1.nrec0#nrec0{name = <<"nested0a">>}, N2b = ((N2#nrec2.nrec1)#nrec1.nrec0)#nrec0{name = <<"nested0a">>}, <<"nested0a">> = N2a#nrec0.name, N2a = N2b, ok. Signed-off-by: Tuncer Ayaz <[email protected]> | |||
2010-04-19 | OTP-8567 The word 'spec' is no longer reserved. | Hans Bolinder | |
The function erl_scan:reserved_word/1 no longer returns true when given the word spec. This bug was introduced in STDLIB-1.15.3 (R12B-3). | |||
2010-04-13 | erl_parse.yrl: Add missing operator in type declaration | Kostis Sagonas | |
2010-03-30 | erl_parse: Remove more stray 'cond' support | Björn Gustavsson | |
Unfortunately, commit 1e2ecf8c492b6d499880b8676e3c1fe0c5793103 removed all cond support except for two lines. | |||
2010-03-17 | OTP-8522 Avoid duplicated 'undefined' in record field types | Hans Bolinder | |
The Erlang parser no longer duplicates the singleton type undefined in the type of record fields without initial value. | |||
2010-03-16 | Remove stray code supporting 'cond' | Björn Gustavsson | |
'cond' is an experimental feature that was never completed. | |||
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |