mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
ce10603db1
This patch introduces TerminalState and changes LexerTransition::mNextState to be a Variant<State, TerminalState>. This means that SUCCESS and FAILURE no longer need to be part of State. Some things to note: - This simplifies the handling of Lex()'s return value, which is nice. - The patch splits Terminate() into TerminateSuccess() and TerminateFailure(). - |const State& aNextState| wouldn't work for the first arg to LexerTransition's ctor due to errors in Variant construction that I didn't understand. I had to change it to |State aNextState|. --HG-- extra : rebase_source : f405a67fdf0f1bb712409eafecb21ac9b59d6db0 |
||
---|---|---|
.. | ||
Common.cpp | ||
Common.h | ||
corrupt.jpg | ||
first-frame-green.gif | ||
first-frame-green.png | ||
first-frame-padding.gif | ||
green.bmp | ||
green.gif | ||
green.ico | ||
green.icon | ||
green.jpg | ||
green.png | ||
moz.build | ||
no-frame-delay.gif | ||
rle4.bmp | ||
rle8.bmp | ||
TestCopyOnWrite.cpp | ||
TestDecoders.cpp | ||
TestDecodeToSurface.cpp | ||
TestMetadata.cpp | ||
TestStreamingLexer.cpp | ||
transparent-if-within-ico.bmp | ||
transparent.gif | ||
transparent.png |