]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agorudimentary real-time profiler.
Rob Pike [Wed, 24 Sep 2008 01:45:44 +0000 (18:45 -0700)]
rudimentary real-time profiler.
tested on mac only.
output like this:
tubenose=% sudo go/src/cmd/prof/6prof -p 71839 -c  -d 10
63.93% mach_semaphore_signal
 4.64% sys·chansend1
 3.93% chanrecv
 2.86% semrelease
 1.43% cas
 1.43% sendchan
 1.07% xadd
 0.71% main·f
 0.71% scheduler
 0.71% sys·gosched
 0.71% dequeue
 ...

R=rsc
DELTA=361  (361 added, 0 deleted, 0 changed)
OCL=15731
CL=15736

16 years ago- added initial formatting: indentation
Robert Griesemer [Wed, 24 Sep 2008 01:34:17 +0000 (18:34 -0700)]
- added initial formatting: indentation
- more AST nodes built and printed

R=r
OCL=15735
CL=15735

16 years ago- snapshot of pretty printer status
Robert Griesemer [Tue, 23 Sep 2008 23:40:12 +0000 (16:40 -0700)]
- snapshot of pretty printer status
- parts of AST built and printed
- no formatting yet

R=r
OCL=15727
CL=15727

16 years agobetter debuggers:
Rob Pike [Tue, 23 Sep 2008 22:08:39 +0000 (15:08 -0700)]
better debuggers:
- follow through segmented stacks
- a couple of fixes to db

R=rsc
DELTA=72  (62 added, 0 deleted, 10 changed)
OCL=15713
CL=15717

16 years agomore on export
Ken Thompson [Tue, 23 Sep 2008 21:16:41 +0000 (14:16 -0700)]
more on export

R=r
OCL=15704
CL=15704

16 years agofixed export sort for methods
Ken Thompson [Tue, 23 Sep 2008 19:48:52 +0000 (12:48 -0700)]
fixed export sort for methods

R=r
OCL=15699
CL=15699

16 years ago- added gccgo makefile
Robert Griesemer [Tue, 23 Sep 2008 18:17:44 +0000 (11:17 -0700)]
- added gccgo makefile

R=r
OCL=15693
CL=15695

16 years agochange string([]byte) to pass array, rather than &a[0],
Russ Cox [Tue, 23 Sep 2008 03:12:15 +0000 (20:12 -0700)]
change string([]byte) to pass array, rather than &a[0],
to string convert.  if the byte array has length 0,
the computation of &a[0] throws an index bounds error.

for fixed size arrays, this ends up invoking arrays2d
unnecessarily, but it works.

R=ken
DELTA=304  (44 added, 28 deleted, 232 changed)
OCL=15674
CL=15678

16 years ago- first cut at building and printing AST
Robert Griesemer [Tue, 23 Sep 2008 01:26:12 +0000 (18:26 -0700)]
- first cut at building and printing AST

R=r
OCL=15675
CL=15675

16 years agoadd os.Getenv()
Rob Pike [Tue, 23 Sep 2008 00:31:41 +0000 (17:31 -0700)]
add os.Getenv()

R=rsc
DELTA=51  (50 added, 0 deleted, 1 changed)
OCL=15665
CL=15667

16 years agoremove extraneous print
Ken Thompson [Tue, 23 Sep 2008 00:29:12 +0000 (17:29 -0700)]
remove extraneous print

R=r
OCL=15666
CL=15666

16 years agovectors bug
Ken Thompson [Mon, 22 Sep 2008 23:58:30 +0000 (16:58 -0700)]
vectors bug

R=r
OCL=15664
CL=15664

16 years agoimplement zoneinfo reader
Russ Cox [Mon, 22 Sep 2008 23:41:14 +0000 (16:41 -0700)]
implement zoneinfo reader

R=r
DELTA=348  (338 added, 0 deleted, 10 changed)
OCL=15648
CL=15660

16 years agoadd "once" package
Russ Cox [Mon, 22 Sep 2008 23:26:57 +0000 (16:26 -0700)]
add "once" package

R=r
DELTA=79  (79 added, 0 deleted, 0 changed)
OCL=15656
CL=15656

16 years agore-fix bug067, update golden.out
Russ Cox [Mon, 22 Sep 2008 23:16:22 +0000 (16:16 -0700)]
re-fix bug067, update golden.out

R=r
DELTA=9  (4 added, 3 deleted, 2 changed)
OCL=15655
CL=15655

16 years agoimplement spec: when main.main returns, the program exits
Russ Cox [Mon, 22 Sep 2008 20:47:59 +0000 (13:47 -0700)]
implement spec: when main.main returns, the program exits

R=r
DELTA=9  (7 added, 2 deleted, 0 changed)
OCL=15628
CL=15643

16 years agotest cleanup
Russ Cox [Mon, 22 Sep 2008 20:47:53 +0000 (13:47 -0700)]
test cleanup
- do not print tracebacks if $GOTRACEBACK=0
- set GOTRACEBACK=0 during tests
- filter out pc numbers in errors

R=r
DELTA=70  (22 added, 30 deleted, 18 changed)
OCL=15618
CL=15642

16 years agotime bug: darwin, linux return microseconds not nanoseconds
Russ Cox [Mon, 22 Sep 2008 20:46:57 +0000 (13:46 -0700)]
time bug: darwin, linux return microseconds not nanoseconds

R=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=15626
CL=15641

16 years agocompiler changes:
Russ Cox [Mon, 22 Sep 2008 19:45:01 +0000 (12:45 -0700)]
compiler changes:
export.c:
- only expose explicitly exported types to importer
- fix behind your back
go.h:
- add deep() prototype (fixes 64-bit linux crash on time.go)
go.y:
- add a new syntax error case
walk.c:
- allow a,b = f() where f is func ptr (fixes bug088)

R=ken
OCL=15617
CL=15630

16 years agonow method/interface code
Ken Thompson [Mon, 22 Sep 2008 19:16:19 +0000 (12:16 -0700)]
now method/interface code

R=r
OCL=15627
CL=15627

16 years agoCorrect two web links, add missing semicolon after &lt.
Ian Lance Taylor [Mon, 22 Sep 2008 18:29:40 +0000 (11:29 -0700)]
Correct two web links, add missing semicolon after &lt.

R=r
DELTA=3  (0 added, 0 deleted, 3 changed)
OCL=15619
CL=15624

16 years agobetter yacc rule in Makefile
Russ Cox [Mon, 22 Sep 2008 17:56:54 +0000 (10:56 -0700)]
better yacc rule in Makefile

if y.tab.c is older than y.tab.h, make
interprets doing nothing as a failure,
because y.tab.c hasn't been updated.
so update it.

R=r
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=15615
CL=15622

16 years agoanother async select bug
Ken Thompson [Sun, 21 Sep 2008 02:56:40 +0000 (19:56 -0700)]
another async select bug

R=r
OCL=15599
CL=15599

16 years agofix some tests
Rob Pike [Sat, 20 Sep 2008 22:16:48 +0000 (15:16 -0700)]
fix some tests

R=ken
OCL=15598
CL=15598

16 years agobug103 - but the fix caused other
Ken Thompson [Sat, 20 Sep 2008 21:59:15 +0000 (14:59 -0700)]
bug103 - but the fix caused other
things to break. hopefully all fixed
now.

R=r
OCL=15597
CL=15597

16 years agochannel test
Ken Thompson [Sat, 20 Sep 2008 03:52:59 +0000 (20:52 -0700)]
channel test

R=r
OCL=15587
CL=15587

16 years agofix bugs in asynch select
Ken Thompson [Sat, 20 Sep 2008 03:43:30 +0000 (20:43 -0700)]
fix bugs in asynch select

R=r
OCL=15586
CL=15586

16 years ago- heuristics for parsing composite literals in some cases
Robert Griesemer [Sat, 20 Sep 2008 01:06:53 +0000 (18:06 -0700)]
- heuristics for parsing composite literals in some cases
- fixed result parsing of function types

R=r
OCL=15585
CL=15585

16 years agoUpdated spec:
Robert Griesemer [Fri, 19 Sep 2008 22:49:55 +0000 (15:49 -0700)]
Updated spec:
- clarified constants and constant expressions
- clarified type of array composite literals (fixed vs open arrays)
- clarified type of map composite literals (need to use '&' to get
  a map pointer)
- added proposal for "if-else" (TBD)
- added TODO w/ respect to "x, ok = <-ch" (and for arrays)

R=r
DELTA=51  (35 added, 0 deleted, 16 changed)
OCL=15573
CL=15575

16 years agoexport an os.Error constructor
Russ Cox [Fri, 19 Sep 2008 22:23:16 +0000 (15:23 -0700)]
export an os.Error constructor

R=r
DELTA=20  (6 added, 7 deleted, 7 changed)
OCL=15569
CL=15571

16 years agoCheck for specific error messages in the testsuite. This
Ian Lance Taylor [Fri, 19 Sep 2008 21:39:49 +0000 (14:39 -0700)]
Check for specific error messages in the testsuite.  This
permits testing that the compiler emits error messages for
specific lines that match egrep regexps.  The desired error
messages are expressed using comments of the form
// ERROR "regexp"

R=r
DELTA=90  (73 added, 8 deleted, 9 changed)
OCL=15513
CL=15566

16 years agomore nuanced handling of usage message to allow user control.
Rob Pike [Fri, 19 Sep 2008 19:52:00 +0000 (12:52 -0700)]
more nuanced handling of usage message to allow user control.
also print argv(0) in default message

R=gri
DELTA=37  (21 added, 9 deleted, 7 changed)
OCL=15540
CL=15554

16 years ago- simplified parser by better factoring
Robert Griesemer [Fri, 19 Sep 2008 19:12:28 +0000 (12:12 -0700)]
- simplified parser by better factoring

R=r
OCL=15539
CL=15542

16 years agoadd gobuild.
Russ Cox [Fri, 19 Sep 2008 18:55:46 +0000 (11:55 -0700)]
add gobuild.
use gobuild-generated Makefile for math and os.
other makefile tweaks.
move math/main.go to test/math.go

R=r
OCL=15529
CL=15537

16 years ago- fix for out-of-bounds error found by rsc
Robert Griesemer [Fri, 19 Sep 2008 17:56:35 +0000 (10:56 -0700)]
- fix for out-of-bounds error found by rsc
- removed tests that may have wrong Go code from Makefile

R=r
OCL=15532
CL=15532

16 years agoavoid dereferencing nil type on undefined name.
Russ Cox [Fri, 19 Sep 2008 16:39:09 +0000 (09:39 -0700)]
avoid dereferencing nil type on undefined name.

R=ken
DELTA=12  (12 added, 0 deleted, 0 changed)
OCL=15506
CL=15528

16 years ago- fixed another parser bug, now correctly parse more tests
Robert Griesemer [Fri, 19 Sep 2008 06:30:32 +0000 (23:30 -0700)]
- fixed another parser bug, now correctly parse more tests

R=r
OCL=15518
CL=15518

16 years ago- added item to TODO list in go_spec
Robert Griesemer [Fri, 19 Sep 2008 06:16:22 +0000 (23:16 -0700)]
- added item to TODO list in go_spec
- filed a bug

R=r
OCL=15517
CL=15517

16 years ago- fixed old test cases with wrong syntax
Robert Griesemer [Fri, 19 Sep 2008 06:09:07 +0000 (23:09 -0700)]
- fixed old test cases with wrong syntax
- added more test cases to Makefile
- fixed another parser issue (possibly a 6g bug - to be tracked down)

R=r
OCL=15516
CL=15516

16 years ago- fixed bug which prevented parser.go from compiling
Robert Griesemer [Fri, 19 Sep 2008 05:53:54 +0000 (22:53 -0700)]
- fixed bug which prevented parser.go from compiling
  (typo in ptr decl lead to an unresolved forward declaration)
- fixed parser bugs
- fixed Makefile
- now successfully parses most code

Issues:
- composite literals (cannot be identified easily from syntax alone)
- new(T, ...) (cannot be identified easily from syntax alone since
  new is not a keyword and thus could be a different function then
  the allocation function at which point "new((x + y))" is legal,
  but the inner "(x" looks like the beginning of a function type)

R=r
OCL=15515
CL=15515

16 years agoFirst cut at a Go pretty printer:
Robert Griesemer [Thu, 18 Sep 2008 23:58:37 +0000 (16:58 -0700)]
First cut at a Go pretty printer:
- code scavenged from Go-in-Go front-end (will merge back)
- using "symbol-table" free parsing to build AST
- no printing yet

R=r
OCL=15504
CL=15504

16 years agoproper handling of signals.
Russ Cox [Thu, 18 Sep 2008 22:56:46 +0000 (15:56 -0700)]
proper handling of signals.
do not run init on g0.

R=r
DELTA=161  (124 added, 23 deleted, 14 changed)
OCL=15490
CL=15497

16 years agowhitespace
Russ Cox [Thu, 18 Sep 2008 22:54:21 +0000 (15:54 -0700)]
whitespace

R=r
DELTA=0  (0 added, 0 deleted, 0 changed)
OCL=15492
CL=15494

16 years agoclean blyacc
Russ Cox [Thu, 18 Sep 2008 22:50:28 +0000 (15:50 -0700)]
clean blyacc

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=15489
CL=15493

16 years agoadd -K flag to check stack underflow
Russ Cox [Thu, 18 Sep 2008 22:41:20 +0000 (15:41 -0700)]
add -K flag to check stack underflow

R=ken
DELTA=38  (36 added, 0 deleted, 2 changed)
OCL=15482
CL=15491

16 years agomake blyacc too
Russ Cox [Thu, 18 Sep 2008 22:09:48 +0000 (15:09 -0700)]
make blyacc too

R=r
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=15488
CL=15488

16 years agomake Makefiles safe for parallel make
Russ Cox [Thu, 18 Sep 2008 22:06:43 +0000 (15:06 -0700)]
make Makefiles safe for parallel make
use -j4 (4-way parallel) in make.bash.

halves time for make.bash on r45

also add libregexp, acid to default build

R=r
DELTA=90  (39 added, 37 deleted, 14 changed)
OCL=15485
CL=15487

16 years agomake acid build on linux.
Russ Cox [Thu, 18 Sep 2008 22:06:14 +0000 (15:06 -0700)]
make acid build on linux.
recognize symbol table info again on 64-only linux.

R=r
DELTA=11  (9 added, 0 deleted, 2 changed)
OCL=15486
CL=15486

16 years agomore helpful messages for name-related syntax errors.
Russ Cox [Thu, 18 Sep 2008 20:32:14 +0000 (13:32 -0700)]
more helpful messages for name-related syntax errors.

R=ken
OCL=15477
CL=15479

16 years agotime & date.
Russ Cox [Wed, 17 Sep 2008 23:20:00 +0000 (16:20 -0700)]
time & date.

rename AddrToInt, StatToInt, etc -> BytePtr, StatPtr, ...

R=r
OCL=15450
CL=15456

16 years ago- updated printing of chan types
Robert Griesemer [Wed, 17 Sep 2008 21:26:01 +0000 (14:26 -0700)]
- updated printing of chan types

R=r
OCL=15448
CL=15448

16 years agoLinux bison rejects // comments outside { code snippets }
Russ Cox [Wed, 17 Sep 2008 21:09:44 +0000 (14:09 -0700)]
Linux bison rejects // comments outside { code snippets }

R=ken
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=15444
CL=15446

16 years agofix printing of -(1<<63)
Russ Cox [Wed, 17 Sep 2008 21:08:52 +0000 (14:08 -0700)]
fix printing of -(1<<63)

R=r
OCL=15441
CL=15445

16 years agoadjusted doc to incorporate new channel notation
Robert Griesemer [Wed, 17 Sep 2008 20:57:11 +0000 (13:57 -0700)]
adjusted doc to incorporate new channel notation
(still a couple of TODO's with respect to the new
notation).

R=r
DELTA=71  (10 added, 11 deleted, 50 changed)
OCL=15419
CL=15443

16 years agoadd network listening & tests
Russ Cox [Wed, 17 Sep 2008 20:49:23 +0000 (13:49 -0700)]
add network listening & tests

R=r,presotto
OCL=15410
CL=15440

16 years ago- changed my scanner/parser to accept new channel syntax
Robert Griesemer [Wed, 17 Sep 2008 20:05:39 +0000 (13:05 -0700)]
- changed my scanner/parser to accept new channel syntax

R=r
OCL=15439
CL=15439

16 years agotutorial code:
Rob Pike [Wed, 17 Sep 2008 19:14:52 +0000 (12:14 -0700)]
tutorial code:
tweak a program or two
delete unused programs
add shell script to run them all

R=gri
DELTA=213  (62 added, 147 deleted, 4 changed)
OCL=15435
CL=15437

16 years agoassignment in select
Ken Thompson [Wed, 17 Sep 2008 03:51:50 +0000 (20:51 -0700)]
assignment in select
with new select operator

R=r
OCL=15418
CL=15418

16 years agoupdate to new communications syntax
Rob Pike [Wed, 17 Sep 2008 02:40:38 +0000 (19:40 -0700)]
update to new communications syntax

R=gri
OCL=15417
CL=15417

16 years agoupdate tests to new communications syntax
Rob Pike [Wed, 17 Sep 2008 02:33:40 +0000 (19:33 -0700)]
update tests to new communications syntax
powser1.go has not been tested - waiting for compiler to catch up

R=ken
OCL=15415
CL=15415

16 years agonew grammar:
Rob Pike [Wed, 17 Sep 2008 02:14:33 +0000 (19:14 -0700)]
new grammar:
binary <- is send
unary <- is recv
-< is gone
case a := <-ch: works in select
case a = <-ch: works in select
support for new cases is not yet in the compiler but all non-select
code works

second CL will update affected go source

R=ken
OCL=15414
CL=15414

16 years agofix / work around bugs in bufio test
Russ Cox [Tue, 16 Sep 2008 21:15:54 +0000 (14:15 -0700)]
fix / work around bugs in bufio test

R=r
DELTA=11  (8 added, 0 deleted, 3 changed)
OCL=15405
CL=15405

16 years agofix some broken tests (tests themselves were wrong)
Rob Pike [Tue, 16 Sep 2008 21:03:43 +0000 (14:03 -0700)]
fix some broken tests (tests themselves were wrong)

R=gri,rsc
OCL=15310
CL=15402

16 years agovar bug is fixed
Rob Pike [Tue, 16 Sep 2008 21:02:41 +0000 (14:02 -0700)]
var bug is fixed

R=rsc
OCL=15400
CL=15400

16 years agopreliminary network - just Dial for now
Russ Cox [Tue, 16 Sep 2008 20:42:47 +0000 (13:42 -0700)]
preliminary network - just Dial for now

R=r,presotto
OCL=15393
CL=15399

16 years agosection on service multiplexing
Rob Pike [Tue, 16 Sep 2008 20:14:44 +0000 (13:14 -0700)]
section on service multiplexing

R=gri
DELTA=75  (57 added, 4 deleted, 14 changed)
OCL=15394
CL=15398

16 years agoacid fixes etc. still not perfect.
Russ Cox [Tue, 16 Sep 2008 19:33:00 +0000 (12:33 -0700)]
acid fixes etc.  still not perfect.

R=r
DELTA=764  (694 added, 38 deleted, 32 changed)
OCL=15285
CL=15395

16 years agoreplace 235 with sieve - less problematic
Rob Pike [Tue, 16 Sep 2008 18:00:11 +0000 (11:00 -0700)]
replace 235 with sieve - less problematic
add programs, not yet described, to demonstrate servers.

R=gri
DELTA=279  (177 added, 16 deleted, 86 changed)
OCL=15380
CL=15389

16 years agoredeclaring methods
Ken Thompson [Tue, 16 Sep 2008 02:07:23 +0000 (19:07 -0700)]
redeclaring methods

R=r
OCL=15375
CL=15375

16 years agobug - divide and mod of a byte
Ken Thompson [Mon, 15 Sep 2008 22:03:10 +0000 (15:03 -0700)]
bug - divide and mod of a byte

R=r
OCL=15370
CL=15370

16 years agoupdate bugs
Rob Pike [Mon, 15 Sep 2008 21:27:15 +0000 (14:27 -0700)]
update bugs
delete bug100.go since the compiler is doing what we agreed.

R=gri
OCL=15367
CL=15367

16 years agodevelop interfaces through cats
Rob Pike [Mon, 15 Sep 2008 18:48:37 +0000 (11:48 -0700)]
develop interfaces through cats
sort
2,3,5

R=gri
DELTA=648  (647 added, 0 deleted, 1 changed)
OCL=15315
CL=15352

16 years agorobs wednesday bug
Ken Thompson [Mon, 15 Sep 2008 00:29:50 +0000 (17:29 -0700)]
robs wednesday bug

R=r
OCL=15327
CL=15327

16 years agomethods on any type
Ken Thompson [Sun, 14 Sep 2008 23:57:55 +0000 (16:57 -0700)]
methods on any type
-- but only *struct tested

R=r
OCL=15326
CL=15326

16 years agopackage name on signatures thru rename
Ken Thompson [Sat, 13 Sep 2008 21:51:39 +0000 (14:51 -0700)]
package name on signatures thru rename

R=r
OCL=15314
CL=15314

16 years agoAutomated g4 rollback of changelist 15312.
Ken Thompson [Sat, 13 Sep 2008 21:49:36 +0000 (14:49 -0700)]
Automated g4 rollback of changelist 15312.

*** Reason for rollback ***

  <enter reason for rollback>

*** Original change description ***

correct signal name thru package rename

R=r
OCL=15313
CL=15313

16 years agocorrect signal name thru package rename
Ken Thompson [Sat, 13 Sep 2008 21:46:19 +0000 (14:46 -0700)]
correct signal name thru package rename

R=r
OCL=15312
CL=15312

16 years agosnprints for safety
Ken Thompson [Sat, 13 Sep 2008 21:37:56 +0000 (14:37 -0700)]
snprints for safety

R=r
OCL=15311
CL=15311

16 years agoremove special trap-handling code for array out of bounds -
Rob Pike [Sat, 13 Sep 2008 20:13:36 +0000 (13:13 -0700)]
remove special trap-handling code for array out of bounds -
compiler doesn't generate them any more

R=ken
OCL=15309
CL=15309

16 years agotest program to generate multiples of a set of factors
Robert Griesemer [Sat, 13 Sep 2008 00:39:29 +0000 (17:39 -0700)]
test program to generate multiples of a set of factors
(as written, factors are 2, 3, and 5)

R=r
OCL=15286
CL=15286

16 years ago1 got rid if static 'fn wo return' test
Ken Thompson [Fri, 12 Sep 2008 23:48:35 +0000 (16:48 -0700)]
1 got rid if static 'fn wo return' test
2 added dynamic calls to throw for array bounds
  and 'fn wo return'
3 small optimization on index[constant]

R=r
OCL=15281
CL=15281

16 years agobuffered input & output
Russ Cox [Fri, 12 Sep 2008 23:42:53 +0000 (16:42 -0700)]
buffered input & output

R=r
DELTA=812  (803 added, 0 deleted, 9 changed)
OCL=15225
CL=15280

16 years agoarray literals not initialized
Russ Cox [Fri, 12 Sep 2008 23:35:02 +0000 (16:35 -0700)]
array literals not initialized

R=r
DELTA=11  (11 added, 0 deleted, 0 changed)
OCL=15222
CL=15276

16 years agochange rand names to match type names
Russ Cox [Fri, 12 Sep 2008 23:17:36 +0000 (16:17 -0700)]
change rand names to match type names

R=r
DELTA=66  (19 added, 9 deleted, 38 changed)
OCL=15232
CL=15265

16 years agorudimentary string utilities.
Russ Cox [Fri, 12 Sep 2008 23:12:20 +0000 (16:12 -0700)]
rudimentary string utilities.

R=r
DELTA=314  (306 added, 8 deleted, 0 changed)
OCL=15074
CL=15263

16 years agonext section: i/o package that has structs, methods
Rob Pike [Fri, 12 Sep 2008 23:03:16 +0000 (16:03 -0700)]
next section: i/o package that has structs, methods

R=gri
DELTA=137  (134 added, 0 deleted, 3 changed)
OCL=15251
CL=15259

16 years agofix up linux trap handling - INTB 5 gives SEGV
Rob Pike [Fri, 12 Sep 2008 19:35:06 +0000 (12:35 -0700)]
fix up linux trap handling - INTB 5 gives SEGV

R=rsc
OCL=15244
CL=15244

16 years ago- hopefully improved language on label scopes
Robert Griesemer [Fri, 12 Sep 2008 19:26:22 +0000 (12:26 -0700)]
- hopefully improved language on label scopes

R=r
DELTA=18  (12 added, 0 deleted, 6 changed)
OCL=15200
CL=15240

16 years agofix silly portability bug
Rob Pike [Fri, 12 Sep 2008 19:17:13 +0000 (12:17 -0700)]
fix silly portability bug

R=gri
OCL=15238
CL=15238

16 years ago- updated code to work again with latest 6g version
Robert Griesemer [Fri, 12 Sep 2008 19:09:43 +0000 (12:09 -0700)]
- updated code to work again with latest 6g version

R=r
OCL=15235
CL=15235

16 years ago- catch trace traps
Rob Pike [Fri, 12 Sep 2008 16:44:41 +0000 (09:44 -0700)]
- catch trace traps
- disassemble the instructions in a trace trap to see if it's a run-time trap
- if so, print relevant info
- avoid double-printing traceback on panic

R=ken,rsc
DELTA=66  (50 added, 7 deleted, 9 changed)
OCL=15199
CL=15224

16 years agoout of bounds bug
Russ Cox [Fri, 12 Sep 2008 16:43:21 +0000 (09:43 -0700)]
out of bounds bug

R=r
DELTA=9  (9 added, 0 deleted, 0 changed)
OCL=15223
CL=15223

16 years agobug 100 - spurious return warnings
Russ Cox [Fri, 12 Sep 2008 15:37:08 +0000 (08:37 -0700)]
bug 100 - spurious return warnings

R=r
OCL=15221
CL=15221

16 years agobug075
Ken Thompson [Fri, 12 Sep 2008 02:09:25 +0000 (19:09 -0700)]
bug075

R=r
OCL=15192
CL=15192

16 years ago- simplified the ideal number terminology for better readability
Robert Griesemer [Fri, 12 Sep 2008 01:23:28 +0000 (18:23 -0700)]
- simplified the ideal number terminology for better readability

R=r
DELTA=24  (0 added, 10 deleted, 14 changed)
OCL=15188
CL=15188

16 years ago- rewrote section on numeric literals (grammar easier to read,
Robert Griesemer [Fri, 12 Sep 2008 00:48:20 +0000 (17:48 -0700)]
- rewrote section on numeric literals (grammar easier to read,
separate between ints and floats, added language regarding the
type of numeric literals)
- added language with respect to the scope of labels
- introduced ideal types for the purpose of the spec
- added language to expressions, operands
- added some more formal language about ideal type conversion
  (probably not 100% correct yet)

R=r
DELTA=145  (69 added, 4 deleted, 72 changed)
OCL=15165
CL=15186

16 years agonew bug
Russ Cox [Fri, 12 Sep 2008 00:19:38 +0000 (17:19 -0700)]
new bug

R=r
DELTA=34  (34 added, 0 deleted, 0 changed)
OCL=15178
CL=15181

16 years ago- map composites should be of correct map type (instead of pointer type)
Robert Griesemer [Fri, 12 Sep 2008 00:16:50 +0000 (17:16 -0700)]
- map composites should be of correct map type (instead of pointer type)

R=r
OCL=15180
CL=15180

16 years ago- 2 bugs with composite literals
Robert Griesemer [Fri, 12 Sep 2008 00:11:16 +0000 (17:11 -0700)]
- 2 bugs with composite literals

R=r
OCL=15179
CL=15179

16 years ago- added 2 bugs
Robert Griesemer [Thu, 11 Sep 2008 23:17:25 +0000 (16:17 -0700)]
- added 2 bugs
- moved bug 060 back into bugs

R=r
OCL=15175
CL=15175