+2008-09-30 Dan Winship <danw@gnome.org>
+
+ Bug 554490: g-ir-scanner gets confused by '\\'
+
+ * giscanner/scannerlexer.l (chartext, stringtext): fix use of
+ backslashes so it will correctly parse '\\' and "\\"
+
+ * tests/scanner/annotation.c: add a use of '\\' to make sure that
+ this stays fixed
+
+ * giscanner/glibtransformer.py (GLibTransformer.count_type): typo
+
2008-10-02 Colin Walters <walters@verbum.org>
bug 552393: Note variadic functions
objectcount = count_type(GLibObject)
ifacecount = count_type(GLibInterface)
enumcount = count_type(GLibEnum)
- print " %d nodes; %d objects, %d interfaces, %d enumsr" \
+ print " %d nodes; %d objects, %d interfaces, %d enums" \
% (len(nodes), objectcount, ifacecount, enumcount)
def parse(self):
fracconst ([0-9]*\.[0-9]+)|([0-9]+\.)
exppart [eE][-+]?[0-9]+
floatsuffix [fFlL]
-chartext ([^\'])|(\\.)
-stringtext ([^\"])|(\\.)
+chartext ([^\\\'])|(\\.)
+stringtext ([^\\\"])|(\\.)
%%
#include "annotation.h"
+static char backslash_parsing_tester = '\\';
+
G_DEFINE_TYPE (AnnotationObject, annotation_object, G_TYPE_OBJECT);
static void
{
return NULL;
}
+
+static char backslash_parsing_tester_2 = '\\';