Ah, now I see. It's the C code that is responsible for parsing away the -D flags that isn't up to snuff. If you type
pike -DFOO=17 -M ~/pike/lib/modules -e 'werror("%O\n",FOO)' ; echo
then it works.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-03-30 15:07: Subject: args
What's up with the command line argument parser?
| orchid% pike -M ~/pike/lib/modules -D FOO=17 -e 'werror("%O\n",FOO)'; echo | Pike: Couldn't find script to execute | ("/home/mirar/pike/longlongint/FOO=17") | orchid% pike -M ~/pike/lib/modules -DFOO=17 -e 'werror("%O\n",FOO)'; echo | -:3:Undefined identifier "FOO". | Compilation failed.
/ Mirar