summaryrefslogtreecommitdiff
path: root/src/cmd/cc/lex.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-1/+1
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+1561
2011-09-13Imported Upstream version 60Ondřej Surý1-1562/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-3/+5
2011-05-04Imported Upstream version 57upstream/57Ondřej Surý1-54/+4
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-9/+15
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-5/+5
2010-02-16cc: use "cpp" anywhere in path, not "/bin/cpp"Giles Lean1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/206077 Committer: Russ Cox <rsc@golang.org>
2010-02-055a/6a/8a/5c/6c/8c: remove fixed-size arrays for -I and -D optionsDean Prichard1-11/+12
R=rsc CC=golang-dev http://codereview.appspot.com/198044 Committer: Russ Cox <rsc@golang.org>
2010-01-28avoid overflow of symb buffer in 5a/6a/8a/5c/6c/8cDean Prichard1-2/+19
R=rsc CC=golang-dev http://codereview.appspot.com/194099 Committer: Russ Cox <rsc@golang.org>
2010-01-25cc: correct handling of leading ·Russ Cox1-3/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/193081 Committer: Russ Cox <rsc@golang.org>
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-1/+8
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2010-01-19cleanup toward eliminating package global name spaceRuss Cox1-0/+11
* switch to real dot (.) instead of center dot (·) everywhere in object files. before it was half and half depending on where in the name it appeared. * in 6c/6a/etc identifiers, · can still be used but turns into . immediately. * in export metadata, replace package identifiers with quoted strings (still package names, not paths). R=ken2, r CC=golang-dev http://codereview.appspot.com/190076
2009-12-138l: add support for PE output.Hector Chu1-1/+4
R=rsc http://codereview.appspot.com/166080 Committer: Russ Cox <rsc@golang.org>
2009-11-17cmd/cc: Fix -I switch to handle a path with blankspaces correctlySergio Luis O. B. Correia1-10/+2
Currently, -I switch can't deal with a path containing spaces. This commit simplify setinclude(), by removing the special case of a string that had spaces. After this change, setinclude() will merely add the given directories to the include path, if it does not yet exist, and this approach works. Will be needed for solving issue 115. R=agl1, rsc, iant2, r http://codereview.appspot.com/155059 Committer: Russ Cox <rsc@golang.org>
2009-11-15cc: drop redundant strcpyRuss Cox1-2/+0
Fixes issue 192. R=ken2 http://codereview.appspot.com/155047
2009-11-14cc: eliminate two fixed-size buffersRuss Cox1-10/+6
Fixes bug 168. Alternative to http://codereview.appspot.com/152143. R=ken2 http://codereview.appspot.com/155042
2009-11-12cc, ld: fix more gcc 4.3 -O2 compile bugsRuss Cox1-2/+1
same as http://codereview.appspot.com/152088 in more files. Fixes issue 83. R=r, r1 http://codereview.appspot.com/152091
2009-11-11cc: correct handling of allocn(0, 1, d)Russ Cox1-2/+1
Fixes issue 29. R=r http://codereview.appspot.com/152076
2009-03-24throw away most of the compat.h compatibility layerRuss Cox1-22/+60
in favor of the lib9 compatibility layer. no need for two. now that mycreate is gone, .6 files are 0644 not 0755. TBR=r OCL=26679 CL=26679
2009-01-27pragma textflagKen Thompson1-1/+0
fixes latent bugs in go and defer R=r OCL=23613 CL=23613
2008-08-03make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc.Russ Cox1-15/+15
these guys really really want long to be 32-bits, so ,s/long/int32/ (and then manual fixup). still passes all tests. (i started out looking for just those longs that needed to be int32 instead, and it was just too hard to track them down one by one.) the longs were rare enough that i don't think it will cause integration problems. R=ken OCL=13787 CL=13789
2008-08-036c delete .6 file on errorKen Thompson1-0/+1
R=r DELTA=1 (1 added, 0 deleted, 0 changed) OCL=13785 CL=13785
2008-06-04Add compiler source to new directory structureRob Pike1-0/+1542
SVN=121164