Re: Parsing problem using constants
- Posted by AndySerpa Apr 15, 2011
- 1403 views
There does seem to be a bug somewhere. Yesterday I ran into a problem in a program with a fairly complicated "include structure" (lots of includes including other includes, many files including the same files) and when calling a function in the regex library, it gave an error that the constant "all_options" had not been assigned a value, which makes no sense since it is a local constant declared in the same file as the function. Adding the no-op "if length(all_options) then end if" right after the constant definition fixed the problem. Couldn't reproduce the error on a simpler program.