DEBUG is off.

This commit is contained in:
jordi.saludes
2010-06-18 11:47:14 +00:00
parent 765107c441
commit dfcd2924e7
3 changed files with 7 additions and 5 deletions

View File

@@ -2,8 +2,8 @@ src=../../src
import=-i$src/runtime/haskell:$src/compiler
cbind=../c-bindings
pythoninc=/usr/include/python2.5
debug=-optc '-DDEBUG=1'
debug= #-optc '-DDEBUG=1'
exdir=../../examples/tutorial/embedded
conf:
ln -s $(cbind)/PGFFFI.hs
ln -s $(cbind)/pgf.h

View File

@@ -78,6 +78,7 @@ NEWGF(Tree,GF_Tree,TreeType,"gf.tree","gf tree")
/* PGF methods, constructor and destructor */
DEALLOCFN(PGF_dealloc, PGFModule, gf_freePGF, "freePGF")
static gfType*

View File

@@ -10,9 +10,10 @@ samples = [
import re
hexre = re.compile('0x[0-9a-f]+:[ ]*')
def rmprefix(obj):
s = `obj`
m = hexre.match(s)
return m and s[m.end(0):]
return `obj`
# s = `obj`
# m = hexre.match(s)
# return m and s[m.end(0):]
class TestParsing(unittest.TestCase):
def setUp(self):