set token location, support OPEN_PARENS, CLOSE_PARENS, SEMICOLON, PUBLIC,
authorJürg Billeter <j@bitron.ch>
Mon, 24 Apr 2006 06:58:11 +0000 (06:58 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Mon, 24 Apr 2006 06:58:11 +0000 (06:58 +0000)
commit3c1619c183b5758147962d4fcbafe1b2893cca8d
treed4f45e67c526788fa20a103271c4f950cd2675a8
parent1fa55b31951795f79e3edf32fc5f9ef3f77f821d
set token location, support OPEN_PARENS, CLOSE_PARENS, SEMICOLON, PUBLIC,

2006-04-24  Jürg Billeter  <j@bitron.ch>

* valac/scanner.l: set token location, support OPEN_PARENS,
  CLOSE_PARENS, SEMICOLON, PUBLIC, STATIC
* valac/parser.y: save symbol location, output exact error location,
  support method declarations
* valac/context.h: add ValaLocation, ValaMethod, and ValaFormalParameter
  structs, add location to ValaClass and ValaTypeReference structs
* valac/context.c: output error location, support method declarations
* valac/generator.c: support method declarations
* valac/driver.c: add comment
* tests/test-004.vala: test method declaration

svn path=/trunk/; revision=3
vala/ChangeLog
vala/tests/test-004.vala [new file with mode: 0644]
vala/valac/context.c
vala/valac/context.h
vala/valac/driver.c
vala/valac/generator.c
vala/valac/parser.y
vala/valac/scanner.l