summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/FileCheck.pod
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-22 22:07:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-22 22:07:50 +0000
commit57cb733b46fd58cbf29214d969c95c634834a588 (patch)
treec278057c9037402939b6e5a66084790e00a871d8 /llvm/docs/CommandGuide/FileCheck.pod
parent7b8fcadf68405c5be1ee91607d895670c408391c (diff)
downloadbcm5719-llvm-57cb733b46fd58cbf29214d969c95c634834a588.tar.gz
bcm5719-llvm-57cb733b46fd58cbf29214d969c95c634834a588.zip
Allow '_' in FileCheck variable names, it is nice to have at least one
separate character. - Chris, OK? llvm-svn: 89626
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.pod')
-rw-r--r--llvm/docs/CommandGuide/FileCheck.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/FileCheck.pod b/llvm/docs/CommandGuide/FileCheck.pod
index d3f640d64dc..32516ad87b3 100644
--- a/llvm/docs/CommandGuide/FileCheck.pod
+++ b/llvm/docs/CommandGuide/FileCheck.pod
@@ -224,7 +224,7 @@ The first check line matches a regex (<tt>%[a-z]+</tt>) and captures it into
the variables "REGISTER". The second line verifies that whatever is in REGISTER
occurs later in the file after an "andw". FileCheck variable references are
always contained in <tt>[[ ]]</tt> pairs, are named, and their names can be
-formed with the regex "<tt>[a-zA-Z][a-zA-Z0-9]*</tt>". If a colon follows the
+formed with the regex "<tt>[a-zA-Z_][a-zA-Z0-9_]*</tt>". If a colon follows the
name, then it is a definition of the variable, if not, it is a use.
FileCheck variables can be defined multiple times, and uses always get the
OpenPOWER on IntegriCloud