Descriptiongo/parser: better error position for non-invoked gp/defer functions
Added test cases and expanded test harness to handle token end
positions.
Also: Make sure token end positions are never outside the valid
position range, as was possible in case of parse errors.
Fixes issue 7458.
Patch Set 1 #Patch Set 2 : diff -r 363a4ef7e011 https://code.google.com/p/go/ #Patch Set 3 : diff -r 8f8ae5044f24 https://code.google.com/p/go/ #Patch Set 4 : diff -r 8f8ae5044f24 https://code.google.com/p/go/ #
Total comments: 4
Patch Set 5 : diff -r 8f8ae5044f24 https://code.google.com/p/go/ #
MessagesTotal messages: 5
|