Changeset 520

Show
Ignore:
Timestamp:
04/30/08 09:32:48 (8 months ago)
Author:
weyrick
Message:

ensure ini values (esp. numbers) from pcc.conf are php types. hi igli.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pcc/compiler/config.scm.in

    r495 r520  
    11;; ***** BEGIN LICENSE BLOCK ***** 
    22;; Roadsend PHP Compiler 
    3 ;; Copyright (C) 2007 Roadsend, Inc. 
     3;; Copyright (C) 2007-2008 Roadsend, Inc. 
    44;; 
    55;; This program is free software; you can redistribute it and/or 
     
    207207                                                                              (cadr ini-entry))) 
    208208                                                       (config-ini-entry (car ini-entry) 
    209                                                                          (cadr ini-entry))) 
     209                                                                         (coerce-to-php-type (cadr ini-entry)))) 
    210210                                                    value)) 
    211211                                   ((default-compile-ext) (set-target-option! compile-extensions: value))