feature request: please display parse error context

Markus Werle markus@lufmech.rwth-aachen.de
Fri Jun 1 03:16:00 GMT 2001


Guess how I feel if I get a parse error  like this one

Discretizer.h:88: parse error before `>' token

on a line like this one (the shortest example for convenience)

typedef typename BasicGalerkinDiscretizer<A::template
SpaceAndTimeDiffInfo<Time>::ExtractValue, typename A::template
SpaceAndTimeDiffInfo<Time>::ExtractReturnType>
::DistinctHandlingOf<Time> ::TestAgainst<TYPE_OF_TEST_FUNCTION>::Type
D1;


The expression template guys would kiss Your feet if they can obtain
a gcc error message with a "^" below the '>' token that leads to the
error.



Markus



More information about the Gcc-bugs mailing list