[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C++ mode, embedded SQL: unbalanced parens diag.
From: |
matthew . miner |
Subject: |
C++ mode, embedded SQL: unbalanced parens diag. |
Date: |
Tue, 14 Jun 2005 12:01:40 -0400 |
To: bug-gnu-emacs@gnu.org
Subject: C++ mode, embedded SQL: unbalanced parens diag.
--text follows this line--
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.3.1 (i386-mingw-nt5.1.2600)
of 2004-03-10 on NYAUMO
configured using `configure --with-gcc (3.2)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: nil
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Remove the "xxx" and type "(". Shows message: up-list: Scan error:
"Unbalanced parentheses", 406, 1
There are no unbalanced parens (the original program compiles and runs
successfully).
The below (bounded by "===") is a trimming that illustrates the problem,
plus a bit of context.
It was part a .sqc file, and in "C++-mode".
To reproduce, yank the code into another buffer, put in c++-mode, remove
the 'xxx', and type (.
I suspect the <> of some role here; change either, and the problem
disappears.
Not critical issue to me. If I can provide anything else, please let me
know.
========================================
EXEC SQL END DECLARE SECTION;
void changeAsign(char *tovalue, char *fromvalue) { NumStrMult(fromvalue,
"-1", tovalue); }
EXEC SQL DECLARE OST_BILL_CYCLES CURSOR WITH HOLD FOR
SELECT ACC_RID_ACR_CYCLE,
OST_NME_ALIAS
FROM VLS_OUTSTANDING OST
WHERE ( :hvVAR_DTE_NEXT <= ACC_DTE_ADJ_CYCLE AND
(FAC_DTE_FINAL_MAT >= :hvVAR_DTE_NEXT)
)
UNION
SELECT ACC_RID_ACR_CYCLE, xxx
OST_RID_OUTSTANDNG
FROM VLS_OUTSTANDING OST
FOR FETCH ONLY;
static int isSBLC(void) {
return ( strcmp(hvOST_CDE_OUTSTD_TYP, "SBLC ") == 0 );
}
========================================
Recent input:
<mouse-1> ( <backspace> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1> <mouse-1>
<mouse-1> <mouse-1> <mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> C-SPC <C-home> C-w <down> <down> <down> C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k <down-mouse-1>
<mouse-movement> <mouse-1> ( <backspace> <down-mouse-1>
<mouse-movement> <mouse-1> C-d <down-mouse-1> <mouse-1>
<down-mouse-1> <mouse-1> <down-mouse-3> <mouse-3> <double-down-mouse-3>
<double-mouse-3> <down-mouse-1> <mouse-1> ( <backspace>
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-3>
<mouse-3> <double-down-mouse-3> <double-mouse-3> C-z
<down-mouse-1> <mouse-1> SPC ( <backspace> <backspace>
SPC <menu-bar> <help-menu> <emacs-problems> C-s f o
n t i C-s C-s C-x k <return> <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
up-list: Scan error: "Unbalanced parentheses", 11790, 1
Mark set [2 times]
Buffer biltrost.sqc has shrunk a lot; auto save turned off there
up-list: Scan error: "Unbalanced parentheses", 436, 1
up-list: Scan error: "Unbalanced parentheses", 406, 1
Undo!
up-list: Scan error: "Unbalanced parentheses", 406, 1
Type C-h for help, h for commands, q to quit.
Mark saved where search started
Loading q:/NTTools/GNU/emacs-21.3/lisp/mail/emacsbug.elc...done
This email and any attachments have been scanned for known viruses using
multiple scanners. We believe that this email and any attachments are virus
free, however the recipient must take full responsibility for virus
checking. This email message is intended for the named recipient only. It
may be privileged and/or confidential. If you are not the intended named
recipient of this email then you should not copy it or use it for any
purpose, nor disclose its contents to any other person. You should contact
the Misys Banking and Securities Division as shown below so that we can
take appropriate action at no cost to yourself. Misys Banking and
Securities Division, 1 St George's Road, Wimbledon, London, SW19 4DR,
England. Email: banking.postmaster@misys.com. Tel: +44 (0) 20 8879 1188
Fax: +44 (0) 20 8947 3373
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- C++ mode, embedded SQL: unbalanced parens diag.,
matthew . miner <=