mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
DEBUG is off.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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*
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user