Include Gir file with constant "[;31;1m"
- From: Daniel Espinosa <esodan gmail com>
- To: gtk list <gtk-list gnome org>, gnome-db-list gnome org
- Subject: Include Gir file with constant "[;31;1m"
- Date: Wed, 24 Feb 2010 17:26:11 -0600
I'm trying to add GOI to GDA UI extension, but I found some problems
in the generated gir file for GDA. Please Help Me!
Actually GDA (4.1) have support for GObject Introspection and it
requires a file called witch defines constants like (in the generated
Gir file):
</enumeration>
<constant name="D_COL_ERR" value="[;31;1m">
<type name="utf8"/>
</constant>
<constant name="D_COL_H0" value="[;34;7m">
<type name="utf8"/>
</constant>
<constant name="D_COL_H1" value="[;36;7m">
<type name="utf8"/>
</constant>
<constant name="D_COL_H2" value="[;36;4m">
<type name="utf8"/>
</constant>
<constant name="D_COL_NOR" value="[0m">
<type name="utf8"/>
</constant>
<constant name="D_COL_OK" value="[;32m">
<type name="utf8"/>
</constant>
But the real constants are:
#ifdef GDA_DEBUG
#define D_COL_NOR "\033[0m"
#define D_COL_H0 "\033[;34;7m"
#define D_COL_H1 "\033[;36;7m"
#define D_COL_H2 "\033[;36;4m"
#define D_COL_OK "\033[;32m"
#define D_COL_ERR "\033[;31;1m"
#endif
When I try to include this gir file to generate Gdaui-4.0.gir file,
the parser crash with a message:
SyntaxError: reference to invalid character number: line 2532, column 38
I have updated and installed GIO from repository.
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los
cuates: LIBRE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]