From 8ed43f154827121c624a5a93808340618bd8f03f Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Sun, 9 Sep 2012 11:03:37 +0000 Subject: [PATCH] Correct the handling of two c-state-cache state variables. cc-engine.el (c-state-cache-init): Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly. (c-record-parse-state-state): record c-state-semi-nonlit-pos-cache\(-limit\)?. --- lisp/ChangeLog | 7 +++++++ lisp/progmodes/cc-engine.el | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c7ff2571f9d..f06856b475e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2012-09-09 Alan Mackenzie + + * progmodes/cc-engine.el (c-state-cache-init): Initialise + c-state-semi-nonlit-pos-cache\(-limit\)? properly. + (c-record-parse-state-state): record + c-state-semi-nonlit-pos-cache\(-limit\)?. + 2012-09-09 Andreas Schwab * register.el (register-separator): Rename from diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 9188ab2fbfd..2aa04cb2b0b 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -3091,6 +3091,8 @@ comment at the start of cc-engine.el for more info." c-state-cache-good-pos 1 c-state-nonlit-pos-cache nil c-state-nonlit-pos-cache-limit 1 + c-state-semi-nonlit-pos-cache nil + c-state-semi-nonlit-pos-cache-limit 1 c-state-brace-pair-desert nil c-state-point-min 1 c-state-point-min-lit-type nil @@ -3350,6 +3352,8 @@ comment at the start of cc-engine.el for more info." c-state-cache-good-pos c-state-nonlit-pos-cache c-state-nonlit-pos-cache-limit + c-state-semi-nonlit-pos-cache + c-state-semi-nonlit-pos-cache-limit c-state-brace-pair-desert c-state-point-min c-state-point-min-lit-type -- 2.39.2