segment: Comment fix.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 11 Sep 2022 03:55:06 +0000 (20:55 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 11 Sep 2022 03:55:06 +0000 (20:55 -0700)
src/language/lexer/segment.h

index 199e390f7e4f1279d877c9e01935534d405a2289..d5f846a900db8b55d463e07996232a89e6401b39 100644 (file)
@@ -36,7 +36,7 @@
    Some segment types correspond directly to tokens; for example, an
    "identifier" segment (SEG_IDENTIFIER) becomes an identifier token (T_ID)
    later in lexical analysis.  Other segments contribute to tokens but do not
-   correspond diectly; for example, multiple quoted string segments
+   correspond directly; for example, multiple quoted string segments
    (SEG_QUOTED_STRING) separated by spaces (SEG_SPACES) and  "+" punctuators
    (SEG_PUNCT) may be combined to form a single string token (T_STRING).
    Still other segments are ignored (e.g. SEG_SPACES) or trigger special