diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-02 22:46:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-02 22:46:01 +0000 |
commit | c80c23ff63a2c29ac5cd3ebb4e61c41ea278ddc0 (patch) | |
tree | 79dfb213521b2e48c3c7240056f72c38d7fb4487 /docs/tutorial/LangImpl1.html | |
parent | aee4af68ae2016afc5b4ec0c430e539c5810a766 (diff) | |
download | external_llvm-c80c23ff63a2c29ac5cd3ebb4e61c41ea278ddc0.zip external_llvm-c80c23ff63a2c29ac5cd3ebb4e61c41ea278ddc0.tar.gz external_llvm-c80c23ff63a2c29ac5cd3ebb4e61c41ea278ddc0.tar.bz2 |
fix typo noticed by Joshua Pennington
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/LangImpl1.html')
-rw-r--r-- | docs/tutorial/LangImpl1.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/LangImpl1.html b/docs/tutorial/LangImpl1.html index 077575f..3cd26fa 100644 --- a/docs/tutorial/LangImpl1.html +++ b/docs/tutorial/LangImpl1.html @@ -293,7 +293,7 @@ if you typed in "1.23". Feel free to extend it :). Next we handle comments: if (LastChar == '#') { // Comment until end of line. do LastChar = getchar(); - while (LastChar != EOF && LastChar != '\n' & LastChar != '\r'); + while (LastChar != EOF && LastChar != '\n' && LastChar != '\r'); if (LastChar != EOF) return gettok(); |