diff options
author | james <> | 2008-02-07 01:58:28 +0000 |
---|---|---|
committer | james <> | 2008-02-07 01:58:28 +0000 |
commit | c376978bd57160a5fb7722065fc77aac62bc4e29 (patch) | |
tree | 50bd6415ad438cd959b63715115d4b3b27241290 /src | |
parent | 3266bf41d98fb7eb72b59d762d4760aa991b1ffd (diff) | |
download | sympathy-c376978bd57160a5fb7722065fc77aac62bc4e29.tar.gz sympathy-c376978bd57160a5fb7722065fc77aac62bc4e29.tar.bz2 sympathy-c376978bd57160a5fb7722065fc77aac62bc4e29.zip |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/vt102.c | 15 | ||||
-rw-r--r-- | src/vt102.h | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/vt102.c b/src/vt102.c index 882574a..0253cdf 100644 --- a/src/vt102.c +++ b/src/vt102.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.17 2008/02/07 01:58:28 james + * *** empty log message *** + * * Revision 1.16 2008/02/07 01:57:46 james * *** empty log message *** * @@ -171,6 +174,18 @@ csi_ender (int c) } static inline int +scs_starter (int c) +{ + switch (c) + { + case '(': + case ')': + return 1; + } + return 0; +} + +static inline int csi_starter (int c) { switch (c) diff --git a/src/vt102.h b/src/vt102.h index fcf7aca..f0d4e91 100644 --- a/src/vt102.h +++ b/src/vt102.h @@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.9 2008/02/07 01:57:46 james + * *** empty log message *** + * * Revision 1.8 2008/02/07 00:39:13 james * *** empty log message *** * @@ -55,6 +58,7 @@ typedef struct int in_csi; int csi_ptr; char csi_buf[VT102_CSI_LEN]; + int in_scs; } VT102_parser; typedef struct |