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 | |
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
-rw-r--r-- | docs/tutorial/LangImpl1.html | 2 | ||||
-rw-r--r-- | docs/tutorial/LangImpl2.html | 2 | ||||
-rw-r--r-- | docs/tutorial/LangImpl3.html | 2 | ||||
-rw-r--r-- | docs/tutorial/LangImpl4.html | 2 | ||||
-rw-r--r-- | docs/tutorial/LangImpl5.html | 2 | ||||
-rw-r--r-- | docs/tutorial/LangImpl6.html | 2 | ||||
-rw-r--r-- | docs/tutorial/LangImpl7.html | 2 |
7 files changed, 7 insertions, 7 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(); diff --git a/docs/tutorial/LangImpl2.html b/docs/tutorial/LangImpl2.html index 6dba260..dbd617c 100644 --- a/docs/tutorial/LangImpl2.html +++ b/docs/tutorial/LangImpl2.html @@ -870,7 +870,7 @@ static int gettok() { 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(); diff --git a/docs/tutorial/LangImpl3.html b/docs/tutorial/LangImpl3.html index b29f422..768a783 100644 --- a/docs/tutorial/LangImpl3.html +++ b/docs/tutorial/LangImpl3.html @@ -735,7 +735,7 @@ static int gettok() { 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(); diff --git a/docs/tutorial/LangImpl4.html b/docs/tutorial/LangImpl4.html index 378b29b..5a41f51 100644 --- a/docs/tutorial/LangImpl4.html +++ b/docs/tutorial/LangImpl4.html @@ -583,7 +583,7 @@ static int gettok() { 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(); diff --git a/docs/tutorial/LangImpl5.html b/docs/tutorial/LangImpl5.html index 9826844..8672cdd 100644 --- a/docs/tutorial/LangImpl5.html +++ b/docs/tutorial/LangImpl5.html @@ -974,7 +974,7 @@ static int gettok() { 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(); diff --git a/docs/tutorial/LangImpl6.html b/docs/tutorial/LangImpl6.html index 33f4adb..013da2e 100644 --- a/docs/tutorial/LangImpl6.html +++ b/docs/tutorial/LangImpl6.html @@ -899,7 +899,7 @@ static int gettok() { 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(); diff --git a/docs/tutorial/LangImpl7.html b/docs/tutorial/LangImpl7.html index 4ad3b94..740e956 100644 --- a/docs/tutorial/LangImpl7.html +++ b/docs/tutorial/LangImpl7.html @@ -1085,7 +1085,7 @@ static int gettok() { 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(); |