aboutsummaryrefslogtreecommitdiff
path: root/docs/tutorial/LangImpl1.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial/LangImpl1.html')
-rw-r--r--docs/tutorial/LangImpl1.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/LangImpl1.html b/docs/tutorial/LangImpl1.html
index 077575fe11..3cd26fa626 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();