X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/8cbbf1786f23176c25f058beff0d5779341022fa..792aeb0017e1a060f4bea5730cf29db4f46800ea:/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}"]"|"$" %%