| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ | 3 * Copyright (C) 2009 Torch Mobile, Inc. http://www.torchmobile.com/ |
| 4 * Copyright (C) 2010 Google, Inc. All Rights Reserved. | 4 * Copyright (C) 2010 Google, Inc. All Rights Reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // this macro to switch to the indicated state. | 83 // this macro to switch to the indicated state. |
| 84 #define SWITCH_TO(prefix, stateName) \ | 84 #define SWITCH_TO(prefix, stateName) \ |
| 85 do { \ | 85 do { \ |
| 86 m_state = prefix::stateName; \ | 86 m_state = prefix::stateName; \ |
| 87 if (source.isEmpty() || !m_inputStreamPreprocessor.peek(source)) \ | 87 if (source.isEmpty() || !m_inputStreamPreprocessor.peek(source)) \ |
| 88 return haveBufferedCharacterToken(); \ | 88 return haveBufferedCharacterToken(); \ |
| 89 cc = m_inputStreamPreprocessor.nextInputCharacter(); \ | 89 cc = m_inputStreamPreprocessor.nextInputCharacter(); \ |
| 90 goto stateName; \ | 90 goto stateName; \ |
| 91 } while (false) | 91 } while (false) |
| 92 | 92 |
| 93 } | 93 } // namespace blink |
| 94 | 94 |
| 95 #endif // MarkupTokenizerInlines_h | 95 #endif // MarkupTokenizerInlines_h |
| OLD | NEW |