\doxysection{src/token.c File Reference}
\label{token_8c}\index{src/token.c@{src/token.c}}
{\ttfamily \#include "{}token.\+h"{}}\newline
Include dependency graph for token.\+c\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item
\textbf{ OPD} $\ast$ \textbf{ opdtok} (const char $\ast$str)
\begin{DoxyCompactList}\small\item\em 「,」区切りの文字列から、オペランドのトークンを取得 \end{DoxyCompactList}\item
void \textbf{ addcerrlist\+\_\+tok} ()
\begin{DoxyCompactList}\small\item\em トークン取得のエラーを追加する \end{DoxyCompactList}\item
\textbf{ CMDLINE} $\ast$ \textbf{ linetok} (const char $\ast$line)
\begin{DoxyCompactList}\small\item\em 行から、ラベル・コマンド・オペランドを取得する \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item
\textbf{ CERR} \textbf{ cerr\+\_\+linetok} [$\,$]
\begin{DoxyCompactList}\small\item\em 行トークン取得のエラー定義 \end{DoxyCompactList}\item
static \textbf{ CERR} \textbf{ cerr\+\_\+opdtok} [$\,$]
\begin{DoxyCompactList}\small\item\em オペランドトークン取得のエラー定義 \end{DoxyCompactList}\end{DoxyCompactItemize}
\label{doc-func-members}
\doxysubsection{Function Documentation}
\index{token.c@{token.c}!addcerrlist\_tok@{addcerrlist\_tok}}
\index{addcerrlist\_tok@{addcerrlist\_tok}!token.c@{token.c}}
\doxysubsubsection{addcerrlist\_tok()}
{\footnotesize\ttfamily \label{token_8c_a5e1c73d564047b8ead994a3b1d9daa11}
void addcerrlist\+\_\+tok (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})}
トークン取得のエラーを追加する
Definition at line \textbf{ 91} of file \textbf{ token.\+c}.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=322pt]{token_8c_a5e1c73d564047b8ead994a3b1d9daa11_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=341pt]{token_8c_a5e1c73d564047b8ead994a3b1d9daa11_icgraph}
\end{center}
\end{figure}
\index{token.c@{token.c}!linetok@{linetok}}
\index{linetok@{linetok}!token.c@{token.c}}
\doxysubsubsection{linetok()}
{\footnotesize\ttfamily \label{token_8c_a0e427bc88eca4d0d5a3479933c839003}
\textbf{ CMDLINE} $\ast$ linetok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{line}{}\end{DoxyParamCaption})}
行から、ラベル・コマンド・オペランドを取得する
\begin{DoxyReturn}{Returns}
ラベル・コマンド・オペランド
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$line} & 行 \\
\hline
\end{DoxyParams}
Definition at line \textbf{ 97} of file \textbf{ token.\+c}.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c_a0e427bc88eca4d0d5a3479933c839003_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c_a0e427bc88eca4d0d5a3479933c839003_icgraph}
\end{center}
\end{figure}
\index{token.c@{token.c}!opdtok@{opdtok}}
\index{opdtok@{opdtok}!token.c@{token.c}}
\doxysubsubsection{opdtok()}
{\footnotesize\ttfamily \label{token_8c_a953218537ac1577c48aa527d326e853b}
\textbf{ OPD} $\ast$ opdtok (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str}{}\end{DoxyParamCaption})}
「,」区切りの文字列から、オペランドのトークンを取得
\begin{DoxyReturn}{Returns}
オペランドのトークン
\end{DoxyReturn}
\begin{DoxyParams}{Parameters}
{\em $\ast$str} & 「,」区切りの文字列 \\
\hline
\end{DoxyParams}
Definition at line \textbf{ 30} of file \textbf{ token.\+c}.
Here is the call graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c_a953218537ac1577c48aa527d326e853b_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{token_8c_a953218537ac1577c48aa527d326e853b_icgraph}
\end{center}
\end{figure}
\label{doc-var-members}
\doxysubsection{Variable Documentation}
\index{token.c@{token.c}!cerr\_linetok@{cerr\_linetok}}
\index{cerr\_linetok@{cerr\_linetok}!token.c@{token.c}}
\doxysubsubsection{cerr\_linetok}
{\footnotesize\ttfamily \label{token_8c_a9c6d5cae193d3086c1f0369f2329d406}
\textbf{ CERR} cerr\+\_\+linetok[$\,$]}
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ \ \ \{\ 104,\ \textcolor{stringliteral}{"{}label\ length\ is\ too\ long"{}}\ \},}
\DoxyCodeLine{\ \ \ \ \{\ 105,\ \textcolor{stringliteral}{"{}no\ command\ in\ the\ line"{}}\ \},}
\DoxyCodeLine{\}}
\end{DoxyCode}
行トークン取得のエラー定義
Definition at line \textbf{ 15} of file \textbf{ token.\+c}.
\index{token.c@{token.c}!cerr\_opdtok@{cerr\_opdtok}}
\index{cerr\_opdtok@{cerr\_opdtok}!token.c@{token.c}}
\doxysubsubsection{cerr\_opdtok}
{\footnotesize\ttfamily \label{token_8c_a631056cc914184f81cb9fe5782e59b69}
\textbf{ CERR} cerr\+\_\+opdtok[$\,$]\hspace{0.3cm}{\ttfamily [static]}}
{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \{}
\DoxyCodeLine{\ \ \ \ \{\ 117,\ \textcolor{stringliteral}{"{}operand\ too\ many\ in\ DC"{}}\ \},}
\DoxyCodeLine{\ \ \ \ \{\ 118,\ \textcolor{stringliteral}{"{}operand\ length\ too\ long"{}}\ \},}
\DoxyCodeLine{\ \ \ \ \{\ 121,\ \textcolor{stringliteral}{"{}cannot\ get\ operand\ token"{}}\ \},}
\DoxyCodeLine{\ \ \ \ \{\ 123,\ \textcolor{stringliteral}{"{}unclosed\ quote"{}}\ \},}
\DoxyCodeLine{\}}
\end{DoxyCode}
オペランドトークン取得のエラー定義
Definition at line \textbf{ 23} of file \textbf{ token.\+c}.