Hello,

the file clients/Motif-1.2/uil/lex.l includes the following definitions:

string      \"[^\"]*\"
tstring     '[^']*'

This is a very limited definition, since you normally can also include escaped "
or ' characters in strings.
I would suggest a definition like this (example for tstring, here you don't need
as many backslashes, therefore
it's easier to read)

tstring     '([^\\']*(\\.)*)*'

(tested with sed).

Best Regards

Josef

--
 ______________________________________________________________________________
[----/ Josef Eckert, Electronic Business Solutions/---- Tel.  +49-30-386-27971 ]
[---/ Siemens Business Services GmbH & Co OHG    /----- Fax.  +49-30-386-23780 ]
[--/ Rohrdamm 85, D-13629 Berlin                / ]
[-/ private: Bremer Str. 43, D-10551 Berlin    /--------  ]
[______________________________________________________________________________]


Reply via email to