summaryrefslogtreecommitdiff
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@Penguin.CS.UCLA.EDU>2019-01-06 11:14:59 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-01-06 11:15:40 -0800
commitb0b483d714e87ee0a4572f9c541514a1ac1a8226 (patch)
tree84db95eef1c7b6a1fc5a0b3e276799bc610316de /src/floatfns.c
parentcfa54ab7d8a64a8a186e29ed2db2cbd58b99c0d9 (diff)
downloademacs-b0b483d714e87ee0a4572f9c541514a1ac1a8226.tar.gz
emacs-b0b483d714e87ee0a4572f9c541514a1ac1a8226.tar.bz2
emacs-b0b483d714e87ee0a4572f9c541514a1ac1a8226.zip
Use integers for syntax-pps-stats
* lisp/emacs-lisp/syntax.el (syntax-ppss-stats): Use integers, not floating-point, for stats, now that integers are unbounded. Almost always these should be fixnums. Add 1 to last slot’s car so that this addition need not be done at runtime. (syntax-pps-stats, syntax-ppss): Use integers for calculations. (syntax-ppss--update-stats): New convenience function. (syntax-ppss): Use it.
Diffstat (limited to 'src/floatfns.c')
0 files changed, 0 insertions, 0 deletions