diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-06-09 22:22:27 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-06-09 22:22:27 -0700 |
commit | 6ac15da6c977a7f2c8d1be2292fee20b05864fe3 (patch) | |
tree | 4e5e6df4df2506aa0ec740a7efe1718a360b153c /parser.l | |
parent | 2ea6ca3ef8151d94d2a3f306a9035ae7ae001fcd (diff) | |
download | txr-6ac15da6c977a7f2c8d1be2292fee20b05864fe3.tar.gz txr-6ac15da6c977a7f2c8d1be2292fee20b05864fe3.tar.bz2 txr-6ac15da6c977a7f2c8d1be2292fee20b05864fe3.zip |
New variable stdlib, with a sysroot mechanism to compute
the path based on the "sysroot" where it is actually installed.
* txr.c (progname_8u, progpath): New static variables.
(get_self_path, sysroot_helper, sysroot, sysroot_init): New
static functions. Sysroot creates a stdlib variable.
(main): Initialize progname_u8 value, and call sysroot_init.
Diffstat (limited to 'parser.l')
0 files changed, 0 insertions, 0 deletions