I have some strange "SQL" files that I use at work - they're actually run
through the C preprocessor and the output is a valid SQL file (don't ask me
why, it wasn't my idea). However, when ctags runs into this file, it hangs.
I'm running on Win32 (Vista x86), and I'm using the native version from the
website (not the Cygwin version)
Unfortunately, I can't send you the file, but I'm working on finding a test
case and building the program so I can get a backtrace. Here's an example
of the stuff in the file:
//****************Some comments
// Macros
#define FOO 25
#define BAR FOO
#define BAZ text
// Here's a schema
declare schema Test, 0.1, {0001010-0030-3000-3000-0000303030303202};
create table SomeTable (
name BAZ pk,
test text(FOO)
);
There's some more craziness in this file - it's basically the weirdest
"SQL" I've ever seen but the point is, even if Ctags can't make heads or
tails of it, it shouldn't ever hang.
--
Paul Betts <paul@paulbetts.org>
David Fishburn
None
None
Public
|
Date: 2008-05-16 02:20
|
|
Date: 2008-05-01 15:14
|
|
Date: 2008-03-29 21:37
|
|
Date: 2008-01-31 14:09
|
|
Date: 2007-07-21 19:24
|
|
Date: 2007-07-21 19:22
|
|
Date: 2007-07-11 18:19
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Pending | 2008-05-16 02:20 | sf-robot |
| close_date | 2008-05-01 15:14 | 2008-05-16 02:20 | sf-robot |
| close_date | - | 2008-05-01 15:14 | dfishburn |
| resolution_id | None | 2008-05-01 15:14 | dfishburn |
| status_id | Open | 2008-05-01 15:14 | dfishburn |
| assigned_to | elliotth | 2008-03-29 21:37 | elliotth |
| assigned_to | nobody | 2007-07-21 19:22 | elliotth |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use