mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-24 03:18:22 +00:00
as: parse: use scan not scan_state
This commit is contained in:
parent
711710fe4b
commit
f6533ce53d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user