diff options
| author | Joakim Verona | 2012-05-30 14:08:12 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-05-30 14:08:12 +0200 |
| commit | 70700d8c47a35b19e29607ac5f0ed322bdd78249 (patch) | |
| tree | 4fa00d3fac00025354f0b6e23dcda1b58689a094 /src/syntax.h | |
| parent | 44fce8ffe7198991c41c985ff4e67ec7d407907e (diff) | |
| parent | 72cb32cf2f0938dd7dc733eed77b1ed1e497b053 (diff) | |
| download | emacs-70700d8c47a35b19e29607ac5f0ed322bdd78249.tar.gz emacs-70700d8c47a35b19e29607ac5f0ed322bdd78249.zip | |
upstream
Diffstat (limited to 'src/syntax.h')
| -rw-r--r-- | src/syntax.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/syntax.h b/src/syntax.h index a5d7ec5aced..6edb1585795 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License | |||
| 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 19 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | extern void update_syntax_table (EMACS_INT, EMACS_INT, int, Lisp_Object); | 22 | extern void update_syntax_table (ptrdiff_t, EMACS_INT, int, Lisp_Object); |
| 23 | 23 | ||
| 24 | /* The standard syntax table is stored where it will automatically | 24 | /* The standard syntax table is stored where it will automatically |
| 25 | be used in all new buffers. */ | 25 | be used in all new buffers. */ |
| @@ -258,7 +258,7 @@ do \ | |||
| 258 | else if (EQ (gl_state.object, Qt)) \ | 258 | else if (EQ (gl_state.object, Qt)) \ |
| 259 | { \ | 259 | { \ |
| 260 | gl_state.b_property = 0; \ | 260 | gl_state.b_property = 0; \ |
| 261 | gl_state.e_property = MOST_POSITIVE_FIXNUM; \ | 261 | gl_state.e_property = PTRDIFF_MAX; \ |
| 262 | gl_state.offset = 0; \ | 262 | gl_state.offset = 0; \ |
| 263 | } \ | 263 | } \ |
| 264 | else \ | 264 | else \ |
| @@ -277,15 +277,15 @@ while (0) | |||
| 277 | struct gl_state_s | 277 | struct gl_state_s |
| 278 | { | 278 | { |
| 279 | Lisp_Object object; /* The object we are scanning. */ | 279 | Lisp_Object object; /* The object we are scanning. */ |
| 280 | EMACS_INT start; /* Where to stop. */ | 280 | ptrdiff_t start; /* Where to stop. */ |
| 281 | EMACS_INT stop; /* Where to stop. */ | 281 | ptrdiff_t stop; /* Where to stop. */ |
| 282 | int use_global; /* Whether to use global_code | 282 | int use_global; /* Whether to use global_code |
| 283 | or c_s_t. */ | 283 | or c_s_t. */ |
| 284 | Lisp_Object global_code; /* Syntax code of current char. */ | 284 | Lisp_Object global_code; /* Syntax code of current char. */ |
| 285 | Lisp_Object current_syntax_table; /* Syntax table for current pos. */ | 285 | Lisp_Object current_syntax_table; /* Syntax table for current pos. */ |
| 286 | Lisp_Object old_prop; /* Syntax-table prop at prev pos. */ | 286 | Lisp_Object old_prop; /* Syntax-table prop at prev pos. */ |
| 287 | EMACS_INT b_property; /* First index where c_s_t is valid. */ | 287 | ptrdiff_t b_property; /* First index where c_s_t is valid. */ |
| 288 | EMACS_INT e_property; /* First index where c_s_t is | 288 | ptrdiff_t e_property; /* First index where c_s_t is |
| 289 | not valid. */ | 289 | not valid. */ |
| 290 | INTERVAL forward_i; /* Where to start lookup on forward */ | 290 | INTERVAL forward_i; /* Where to start lookup on forward */ |
| 291 | INTERVAL backward_i; /* or backward movement. The | 291 | INTERVAL backward_i; /* or backward movement. The |
| @@ -295,8 +295,8 @@ struct gl_state_s | |||
| 295 | intervals too, depending | 295 | intervals too, depending |
| 296 | on: */ | 296 | on: */ |
| 297 | /* Offset for positions specified to UPDATE_SYNTAX_TABLE. */ | 297 | /* Offset for positions specified to UPDATE_SYNTAX_TABLE. */ |
| 298 | EMACS_INT offset; | 298 | ptrdiff_t offset; |
| 299 | }; | 299 | }; |
| 300 | 300 | ||
| 301 | extern struct gl_state_s gl_state; | 301 | extern struct gl_state_s gl_state; |
| 302 | extern EMACS_INT scan_words (EMACS_INT, EMACS_INT); | 302 | extern ptrdiff_t scan_words (ptrdiff_t, EMACS_INT); |