i18npool: why not document the state transitions

Change-Id: Ica5789dab22a49efb9e2da3a795e13aa7e2c4339
This commit is contained in:
Michael Stahl 2016-01-21 19:00:26 +01:00
parent 331a0a347e
commit 9486dd0692

View file

@ -75,16 +75,16 @@ private:
enum ScanState
{
ssGetChar,
ssGetValue,
ssGetWord,
ssGetWordFirstChar,
ssGetString,
ssGetBool,
ssRewindFromValue,
ssIgnoreLeadingInRewind,
ssStopBack,
ssBounce,
ssGetChar, // initial state; -> ssBounce, ssGetValue, ssRewindFromValue, ssGetWord, ssGetWordFirstChar, ssGetString, ssGetBool, ssStop
ssGetValue, // -> ssBounce, ssRewindFromValue, ssStopBack, ssGetWord
ssGetWord, // -> ssBounce, ssStop, ssStopBack
ssGetWordFirstChar, // -> ssBounce, ssGetWord, ssStop, ssStopBack
ssGetString, // -> ssBounce, ssStop
ssGetBool, // -> ssBounce, ssStop, ssStopBack
ssRewindFromValue, // -> ssBounce, ssGetValue, ssGetWord, ssGetWordFirstChar, ssGetString, ssGetBool, ssStop, ssIgnoreLeadingInRewind
ssIgnoreLeadingInRewind, // -> ssBounce, ssGetValue, ssRewindFromValue, ssGetWord, ssGetWordFirstChar, ssGetString, ssGetBool, ssStop
ssStopBack, // -> ssStop
ssBounce, // -> ssStopBack
ssStop
};