X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/8cbbf1786f23176c25f058beff0d5779341022fa..eba83258a36bc55ac915d99d2b40d5bee106e73a:/src/scan-code.l diff --git a/src/scan-code.l b/src/scan-code.l index 0158e7c0..f1c97908 100644 --- a/src/scan-code.l +++ b/src/scan-code.l @@ -1,6 +1,6 @@ /* Bison Action Scanner -*- C -*- - Copyright (C) 2006-2011 Free Software Foundation, Inc. + Copyright (C) 2006-2012 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -85,7 +85,7 @@ splice (\\[ \f\t\v]*\n)* named symbol references. Shall be kept synchronized with scan-gram.l "letter" and "id". */ letter [.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_] -id -*(-|{letter}({letter}|[-0-9])*) +id {letter}({letter}|[-0-9])* ref -?[0-9]+|{id}|"["{id}"]"|"$" %%