as: parse: use scan not scan_state

This commit is contained in:
Mikael Pettersson 2019-12-27 17:37:32 +01:00
parent 711710fe4b
commit f6533ce53d

View File

@ -28,9 +28,9 @@
-include("tunit.hrl").
-include_lib("lib/include/pdp10_opcodes.hrl").
-type location() :: scan_state:location().
-type location() :: scan:location().
-spec stmt(scan_state:scan_state())
-spec stmt(scan:scan_state())
-> {ok, {location(), stmt()}} | eof | {error, {module(), term()}}.
stmt(ScanState) ->
case scan:token(ScanState) of