OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2002-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 App
le Inc. All rights reserved. |
4 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 4 * Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
6 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 6 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 2015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2026 parser->invalidBlockHit(); | 2026 parser->invalidBlockHit(); |
2027 } | 2027 } |
2028 ; | 2028 ; |
2029 | 2029 |
2030 invalid_block_list: | 2030 invalid_block_list: |
2031 invalid_block | 2031 invalid_block |
2032 | invalid_block_list error invalid_block | 2032 | invalid_block_list error invalid_block |
2033 ; | 2033 ; |
2034 | 2034 |
2035 errors: | 2035 errors: |
2036 error { | 2036 error error_location { |
2037 $$ = parser->currentLocation(); | 2037 $$ = $2; |
2038 } | |
2039 | errors error { | |
2040 $$ = $1; | |
2041 } | 2038 } |
2042 ; | 2039 ; |
2043 | 2040 |
2044 error_location: { | 2041 error_location: { |
2045 $$ = parser->currentLocation(); | 2042 $$ = parser->currentLocation(); |
2046 } | 2043 } |
2047 ; | 2044 ; |
2048 | 2045 |
2049 %% | 2046 %% |
2050 | 2047 |
OLD | NEW |