summaryrefslogtreecommitdiff
path: root/tools/llvm-upgrade/UpgradeLexer.l.cvs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-02 04:11:07 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-02 04:11:07 +0000
commita50d5962edbf9606a9a7636d845be9f980c28b87 (patch)
tree5a42f4f06da6f01e0e8325766967706cc3d96cd7 /tools/llvm-upgrade/UpgradeLexer.l.cvs
parent97af751deb9b26fd42fbcee082da9ccc4ded5b45 (diff)
downloadllvm-a50d5962edbf9606a9a7636d845be9f980c28b87.tar.gz
llvm-a50d5962edbf9606a9a7636d845be9f980c28b87.tar.bz2
llvm-a50d5962edbf9606a9a7636d845be9f980c28b87.tar.xz
Add support for global types and type resolution. Fix several minor
formatting and spacing bugs. This is sufficient for llvm-upgrade to correctly upgrade all of llvm/test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-upgrade/UpgradeLexer.l.cvs')
-rw-r--r--tools/llvm-upgrade/UpgradeLexer.l.cvs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-upgrade/UpgradeLexer.l.cvs b/tools/llvm-upgrade/UpgradeLexer.l.cvs
index 867041da61..0e62e4c950 100644
--- a/tools/llvm-upgrade/UpgradeLexer.l.cvs
+++ b/tools/llvm-upgrade/UpgradeLexer.l.cvs
@@ -157,7 +157,7 @@ ulong { RET_TY(ULONG,ULongTy,"ulong",false); }
float { RET_TY(FLOAT,FloatTy,"float",false); }
double { RET_TY(DOUBLE,DoubleTy,"double",false); }
label { RET_TY(LABEL,LabelTy,"label",false); }
-opaque { RET_TY(OPAQUE,OpaqueTy,"opaque",false); }
+opaque { RET_TOK(OPAQUE); }
type { RET_TOK(TYPE); }
add { RET_TOK( ADD); }