mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 09:02:50 -06:00
DEBUG is off.
This commit is contained in:
@@ -2,8 +2,8 @@ src=../../src
|
|||||||
import=-i$src/runtime/haskell:$src/compiler
|
import=-i$src/runtime/haskell:$src/compiler
|
||||||
cbind=../c-bindings
|
cbind=../c-bindings
|
||||||
pythoninc=/usr/include/python2.5
|
pythoninc=/usr/include/python2.5
|
||||||
debug=-optc '-DDEBUG=1'
|
debug= #-optc '-DDEBUG=1'
|
||||||
|
exdir=../../examples/tutorial/embedded
|
||||||
conf:
|
conf:
|
||||||
ln -s $(cbind)/PGFFFI.hs
|
ln -s $(cbind)/PGFFFI.hs
|
||||||
ln -s $(cbind)/pgf.h
|
ln -s $(cbind)/pgf.h
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ NEWGF(Tree,GF_Tree,TreeType,"gf.tree","gf tree")
|
|||||||
|
|
||||||
/* PGF methods, constructor and destructor */
|
/* PGF methods, constructor and destructor */
|
||||||
|
|
||||||
|
|
||||||
DEALLOCFN(PGF_dealloc, PGFModule, gf_freePGF, "freePGF")
|
DEALLOCFN(PGF_dealloc, PGFModule, gf_freePGF, "freePGF")
|
||||||
|
|
||||||
static gfType*
|
static gfType*
|
||||||
|
|||||||
@@ -10,9 +10,10 @@ samples = [
|
|||||||
import re
|
import re
|
||||||
hexre = re.compile('0x[0-9a-f]+:[ ]*')
|
hexre = re.compile('0x[0-9a-f]+:[ ]*')
|
||||||
def rmprefix(obj):
|
def rmprefix(obj):
|
||||||
s = `obj`
|
return `obj`
|
||||||
m = hexre.match(s)
|
# s = `obj`
|
||||||
return m and s[m.end(0):]
|
# m = hexre.match(s)
|
||||||
|
# return m and s[m.end(0):]
|
||||||
|
|
||||||
class TestParsing(unittest.TestCase):
|
class TestParsing(unittest.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user