Remove dependency to CPP: add function to report problems while parsing
commit7d74648fc37037bb9d49a8f29d022454a36996e9
authorChristophe CURIS <christophe.curis@free.fr>
Sun, 8 Jul 2012 00:12:36 +0000 (8 02:12 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 14 Jul 2012 18:22:20 +0000 (14 20:22 +0200)
tree6e2b066943d917116a171ffdaec10c772602d2a1
parent42cccb2313a427977a4cde75186bd00739e54e20
Remove dependency to CPP: add function to report problems while parsing

The default function used so far provides informations not so useful
to user, like wmaker's source file, line number and function; it
also cannot provide the line number from the parsed file because cpp
messes this information.

With this dedicated function we try to provide useful things which
are being tracked by the parser internally, like valid line number
and the name of the file being read (which can be convenient in the
case of #include, for which we may also be able to provide the
inclusion tree!)
WINGs/WINGs/WUtil.h
WINGs/menuparser.c
src/rootmenu.c