From: Carlos G. A. <car...@te...> - 2003-04-16 10:47:53
|
Hello: > The way FbScript.cs currently looks for specific ISQL commands is too > simplistic. It should work no matter how much white space is between > individual command identifiers. For example, SET TERM could be written SET > TERM (with 2 spaces) and should still work. > > The parser also has to be aware of lexical context such as strings and SQL > comments so that statements like this don't confuse it: > > insert into aTable values ( 'SET TERM' ) ; > > This is really the same as the "terminator-in-a-string" problem - the parser > has to do more than just look for special patterns in the input stream. I know this too, but at this moment i only want to do a basic isql parser. -- Best regards Carlos Guzmán Álvarez Vigo-Spain |