Skip to content

Commit

Permalink
chicken-il to chicken-include-list
Browse files Browse the repository at this point in the history
darcs-hash:20051128161617-71b0c-79bcca58361f13b422311590fb4dd07577c6281b.gz
  • Loading branch information
pupeno committed Nov 28, 2005
1 parent cef99ba commit 834a7ff
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
3 changes: 1 addition & 2 deletions Bugs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Bugs and limitations
====================

- The scanner, chicken-il.scm, can't handle files that contain non-standard reader macros (those starting with #).
None known.
6 changes: 3 additions & 3 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ binInstallDir = "$PREFIX/bin/"
# chicken.py, no build needed.
env.Install(sconsInstallDir, 'chicken.py')

# chicken-il
chicken_il = env.Program("chicken-il.scm")
env.Install(binInstallDir, chicken_il)
# chicken-include-list
cil = env.Program("chicken-include-list.scm")
env.Install(binInstallDir, cil)

# Alias for installing.
env.Alias("install", sconsInstallDir)
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions chicken.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ def generate(env):

def includedFiles(node, env, path):
for path in env['ENV']['PATH'].split(':'):
if os.path.exists(path + '/' + "chicken-il"):
includes = split(strip(os.popen("chicken-il " + str(node)).read()))
cil = path + '/' + "chicken-include-list"
if os.path.exists(cil):
includes = split(strip(os.popen(cil + " " + str(node)).read()))
return includes
else:
print "Not running chicken-il, nothing to be worried about when building/installing scons-chicken, but if that is not the case, your installation may be corrupt."
Expand Down

0 comments on commit 834a7ff

Please sign in to comment.