summaryrefslogtreecommitdiffstats
path: root/gcc/go/gofrontend/parse.h
Commit message (Collapse)AuthorAgeFilesLines
* compiler: Correct test for whether go/defer arg is parenthesized.ian2012-12-061-4/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194240 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Implement //go:nointerface comments.ian2012-11-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193874 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Fix a, b, c := b, a, 1 when a and b already exist.ian2012-10-031-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192022 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Fix parse of (<- chan <- chan <- int)(x).ian2012-10-021-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192011 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Correct parse of for with possible composite literal.ian2012-05-041-3/+6
| | | | | | | Fixes, e.g., "for first := true; first; first = false {". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187176 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Better handling of erroneous function signatures.ian2012-01-241-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183479 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Give an error if a variable is defined but not used.ian2012-01-231-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183458 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Define and use backend-independent Location class.ian2011-11-291-19/+19
| | | | | | | | | | | | | | | | From Sanjoy Das. * go-location.h: New file. * go-linemap.cc: New file. * go-gcc.cc: Change all uses of source_location to Location. * Make-lang.in (GO_OBJS): Add go/go-linemap.o. (GO_LINEMAP_H): New variable. (GO_LEX_H): Use $(GO_LINEMAP_H). (GO_GOGO_H, GO_TYPES_H, GO_IMPORT_H): Likewise. (go/go-linemap.o): New target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181813 138bc75d-0d04-0410-961f-82ee72b054a4
* Check for duplicate parameter/result names.ian2011-09-201-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179010 138bc75d-0d04-0410-961f-82ee72b054a4
* Better error message for old syntax of send expression as value.ian2011-03-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171637 138bc75d-0d04-0410-961f-82ee72b054a4
* Give an error if a label is defined but not used.ian2011-03-251-10/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171518 138bc75d-0d04-0410-961f-82ee72b054a4
* Tuple receives indicate whether channel is closed.ian2011-03-241-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171380 138bc75d-0d04-0410-961f-82ee72b054a4
* Change c <- v from an expression to a statement.ian2011-03-241-1/+1
| | | | | | | | Don't do anything special if we don't use the value of <-c. Fix sending an untyped constant in a select statement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171371 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't look outside of function literal for break or continue label.ian2011-01-041-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168486 138bc75d-0d04-0410-961f-82ee72b054a4
* Check for multiple default cases in switch or select.ian2011-01-041-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168481 138bc75d-0d04-0410-961f-82ee72b054a4
* Correctly handle tuple assignment to _ at global scope.ian2010-12-221-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168184 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't crash on invalid parameters/results.ian2010-12-141-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167820 138bc75d-0d04-0410-961f-82ee72b054a4
* Add Go frontend, libgo library, and Go testsuite.ian2010-12-031-0/+307
gcc/: * gcc.c (default_compilers): Add entry for ".go". * common.opt: Add -static-libgo as a driver option. * doc/install.texi (Configuration): Mention libgo as an option for --enable-shared. Mention go as an option for --enable-languages. * doc/invoke.texi (Overall Options): Mention .go as a file name suffix. Mention go as a -x option. * doc/frontends.texi (G++ and GCC): Mention Go as a supported language. * doc/sourcebuild.texi (Top Level): Mention libgo. * doc/standards.texi (Standards): Add section on Go language. Move references for other languages into their own section. * doc/contrib.texi (Contributors): Mention that I contributed the Go frontend. gcc/testsuite/: * lib/go.exp: New file. * lib/go-dg.exp: New file. * lib/go-torture.exp: New file. * lib/target-supports.exp (check_compile): Match // Go. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167407 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud