Re: ver. 4.0 Build/Command Line Problem Found !!

new topic     » goto parent     » topic index » view thread      » older message » newer message
jeremy said...

Bernie,

I think the problem is in the actual handling of the command line arguments in Euphoria. Recently there was quite an internal change in how the command line arguments were handled. It was made easier to maintain and also enhanced so that we can use a configuration file to provide any command line option. However, during this time there was an oversite. I just discovered it the other day when a program of mine ceased to function.

The difference is, in 3.x and 99% of 4.0, the interpreter and translator ate any command line argument sent to it. For instance:

C:\ > exwc -i \euphoria -i myapp -D TEST myprog.ex hello.txt 
 
command_line() = { myprog.ex, hello.txt } 

However, after the recent change, this is what it looks like:

C:\ > exwc -i \euphoria -i myapp -D TEST myprog.ex hello.txt 
 
command_line() = { -i, \euphoria, -i, myapp, -D, TEST, myprog.ex, hello.txt } 

I think there is a change under way to correct this problem, then programs like revget.ex will start working again.

Jeremy

Has that been committed to the trunk ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu