summaryrefslogtreecommitdiff
path: root/src/cmd/gc/lex.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-31/+66
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-19/+86
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-4/+7
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-160/+230
2012-06-14Imported Upstream version 1.0.2upstream/1.0.2Ondřej Surý1-1/+0
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-75/+352
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+1956
2011-09-13Imported Upstream version 60Ondřej Surý1-1935/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-4/+14
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-4/+18
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-3/+7
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-4/+0
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-3/+28
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-35/+168
2010-06-14gc: no more ...Russ Cox1-16/+26
various cleanup, deleting unused code R=ken2 CC=golang-dev http://codereview.appspot.com/1663041
2010-06-12gc: less aggressive name binding, for better line numbers in errorsRuss Cox1-18/+18
Cleans up a few other corner cases too. R=ken2 CC=golang-dev http://codereview.appspot.com/1592045
2010-06-11gc: change -u to require imports to be marked safeRuss Cox1-0/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1597043
2010-06-09gc: more cleanupRuss Cox1-22/+68
* disallow surrogate pair runes. * diagnose impossible type assertions * eliminate another static buffer. * do not overflow lexbuf. * add -u flag to disable package unsafe. R=ken2 CC=golang-dev http://codereview.appspot.com/1619042
2010-06-08gc: new typechecking rulesRuss Cox1-4/+22
* Code for assignment, conversions now mirrors spec. * Changed some snprint -> smprint. * Renamed runtime functions to separate interface conversions from type assertions: convT2I, assertI2T, etc. * Correct checking of \U sequences. Fixes issue 840. Fixes issue 830. Fixes issue 778. R=ken2 CC=golang-dev http://codereview.appspot.com/1303042
2010-06-07gc: backslash newline is not a legal escape sequence in stringsRobert Griesemer1-4/+0
Fixes issue 827. R=ken2 CC=golang-dev, rsc http://codereview.appspot.com/1592041
2010-05-20gc: disallow · in Go programsRuss Cox1-1/+1
Fixes issue 793. R=ken2 CC=golang-dev http://codereview.appspot.com/1249043
2010-05-03gc: bug267Russ Cox1-0/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1067042
2010-04-27gc: better windows detectionRuss Cox1-13/+8
R=ken2 CC=golang-dev http://codereview.appspot.com/944043
2010-04-27gc: fix islocalname on windowsRuss Cox1-1/+22
Fixes issue 732. R=ken2 CC=golang-dev http://codereview.appspot.com/956050
2010-04-11gc: distinguish fatal compiler bug from error+exitRuss Cox1-11/+20
R=ken2 CC=golang-dev http://codereview.appspot.com/902044
2010-03-31gc: implement panic and recoverRuss Cox1-2/+9
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
2010-03-30gc: add panic and recover (still unimplemented in runtime)Russ Cox1-0/+1
main semantic change is to enforce single argument to panic. runtime: change to 1-argument panic. use String method on argument if it has one. R=ken2, r CC=golang-dev http://codereview.appspot.com/812043
2010-03-29gc: flush warnings, if anyRuss Cox1-0/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/811042
2010-03-24depricate paniclnKen Thompson1-1/+0
R=rsc CC=golang-dev http://codereview.appspot.com/743041
2010-03-08gc: avoid fixed length buffer cleanbufDean Prichard1-2/+3
R=rsc CC=golang-dev http://codereview.appspot.com/302042 Committer: Russ Cox <rsc@golang.org>
2010-03-056g complex type usableKen Thompson1-0/+3
8g and 5g have stubs to ignore complex R=rsc CC=golang-dev http://codereview.appspot.com/257042
2010-03-03gc: fix imported and not used message - show pathRuss Cox1-2/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/229046
2010-02-17new types complex, complex64 and complex128Ken Thompson1-0/+27
only front-end compiler work. best to do thin in 3 steps 1. frontend 2. backend 3. lib R=rsc CC=golang-dev http://codereview.appspot.com/214042
2010-02-16gc: disallow NUL byte, catch more invalid UTF-8, testRuss Cox1-30/+22
R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/209041
2010-02-16gc: test & fix handling of very long string constantsRuss Cox1-8/+13
R=ken2 CC=golang-dev http://codereview.appspot.com/207106
2010-02-08*l/*c: add -V flag to display version numberAndrew Gerrand1-0/+4
R=rsc CC=golang-dev http://codereview.appspot.com/204044
2010-01-28gc: tweak error messages, avoid internalization settings in bisonRuss Cox1-9/+13
R=r CC=golang-dev http://codereview.appspot.com/194129
2010-01-26gc: improved syntax errorsRuss Cox1-0/+84
* example-based syntax errors (go.errors) * enable bison's more specific errors and translate grammar token names into tokens like ++ * test cases R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/194085
2010-01-26gc: do not treat .6 different from .a anymoreRuss Cox1-13/+8
R=ken2 CC=golang-dev http://codereview.appspot.com/195050
2010-01-25eliminate package global name spaceRuss Cox1-3/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/194071
2010-01-24gc: record full package paths in runtime type dataRuss Cox1-0/+3
detect compilation of special package runtime with compiler flag instead of package name. R=ken2 CC=golang-dev http://codereview.appspot.com/193080
2010-01-24gc: cut some dead code, fix 6g -S outputRuss Cox1-1/+11
R=ken2 CC=golang-dev http://codereview.appspot.com/193079
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-31/+45
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-18build: move GOOS, GOARCH, GOROOT lookup into central library.Russ Cox1-2/+2
bake default values in during build. R=r CC=golang-dev http://codereview.appspot.com/186173
2010-01-18gc: more precise handling of import .Russ Cox1-3/+3
Fixes issue 455. R=ken2 CC=golang-dev http://codereview.appspot.com/186212
2010-01-13ignore $GOARCH inside the compiler and linker.Rob Pike1-1/+1
by definition, they know what they are building for. makes it easier to switch architectures when testing. % 6g x.go % 6l x.6 % 6.out "Wed Jan 13 10:57:46 EST 2010" % 8g x.go % 8l x.8 % 8.out "Wed Jan 13 10:57:46 EST 2010" % echo $GOARCH % R=rsc CC=golang-dev http://codereview.appspot.com/186116
2010-01-07gc: bug219, bug239, bug240Russ Cox1-6/+22
Fixes issue 475. R=ken2 CC=golang-dev http://codereview.appspot.com/183157
2009-12-11gc: semicolonsRuss Cox1-81/+58
Fixes issue 89. Fixes issue 92. Fixes issue 118. Fixes issue 182. Fixes issue 328. Fixes issue 340. R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/172049
2009-12-02gc: make 'invalid rune in string' a little less crypticRuss Cox1-1/+3
Fixes issue 371. R=ken2 http://codereview.appspot.com/164091